An interface for all entities that can return a long ID. This is supposed to be done by every JPA entity. By having this simple interface we can reuse functionality for all JPA entities. If a method returns an object of type IdHolder, we can cast that to whatever object we expect.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.