I have two POJO\'s ,STOCK and STOCK_DETAILS (one to many relationship). Also I have one interface IAUDITLOG (having two methods). I need to implement this interface with BOT
You should annotate the overridden methods with @Transient.
http://docs.oracle.com/javaee/5/api/javax/persistence/Transient.html
This annotation specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class.
P.s. As of Hibernate 3 collections are lazy by default so there is no need to explicitly mark it as lazy.