3 Replies Latest reply on Nov 5, 2006 10:03 AM by Max Rydahl Andersen

    Generating EJB 3 with life-cycle methods using hibernate

    Alex Titov Newbie

      Hello. I can use hibernate plug-in to generate EJB 3 Entities from POJOs. But is there any way to define methods that should be copied from POJO to Entity (without change) and methods, that should be copied from POJO to Entity and marked as lifecycle methods (@PreRemove, @PostRemome, etc.).