Post subject: JPA Entity Generation Posted: Jan 14, 2009 - 03:06 PM
Joined: Oct 16, 2008
Posts: 6
Hi,
When I am auto-generating Entities and Facades, how do I use your "Custom Templates"?
I would like the option to include my custom generic findByProperties method in each facade.
Thanks
Sajid
Support-Brian
Post subject: RE: JPA Entity Generation Posted: Jan 14, 2009 - 07:10 PM
Moderator
Joined: Aug 21, 2004
Posts: 2339
Sajid,
Please see section 5.5 in the Developing JPA, Hibernate & Spring Applications > Getting Started > Hibernate Tutorial (The process is the same for both Hibernate and JPA reverse engineering).