How do you set "Key generator" to default to "identity"

Paul Furbacher <[email protected]> Wed, 1 Feb 2006 01:36:04 -0500
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Please note: reply only to the list; do *not* reply to my personal 
email address.

Is there a way to get Middlegen to set the "Key generator" value to
"identity" instead of "assigned"?  Currently, every time I run 
Middlegen,
I have to do a mass find/replace of "assigned" for all the generated 
Hibernate
mapping (.hbm.xml) files.  This gets to be a bit tedious.  It's not 
practical
to manually set the value in Middlegen for each table in a database
which has more than say 5 tables.

Any hints would be appreciated.

Thanks.


Paul Furbacher



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642