Darren Hartford
2005-11-04 18:16:36 UTC
Hey all,
I've been actively using the CMP30/ejb3 middlegen templates with great
success!
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 = javax.persistence.GeneratorType.AUTO)
Any recommendations?
Thanks,
-D
I've been actively using the CMP30/ejb3 middlegen templates with great
success!
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 = javax.persistence.GeneratorType.AUTO)
Any recommendations?
Thanks,
-D