hibernateDAO failing to generate findBy method for primary key

ian <[email protected]> Tue, 18 Jan 2005 21:26:52 -0600
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
I'm trying to use Middlegen 2.1's hibernate plugin to generate DAO java 
source. The hibernateDAO task generates some DAO class sources, but 
they're all missing kind of an obvious useful method like getById() or 
findById() or load() or whatever you want to call it; the method that 
gets an object by its id. It's as if hibernateDAO decided not to 
generate a method for id because it is the primary key or something.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt