From: Darren H. <dha...@gh...> - 2005-11-04 20:15:56
|
Hey all, I've been actively using the CMP30/ejb3 middlegen templates with great success!=20 I however ran into this issue and rather start digging into the code off-the-bat, first ask if anyone knows how to solve this problem. I have a field in the database that is a String and the PRIMARY KEY. This String will be populated by the application/user. When using middlegen to generate the classes from the DB, I can not figure out a way to stop it from doing this: @javax.persistence.Id(generate =3D javax.persistence.GeneratorType.AUTO) Any recommendations? Thanks, -D |