Originally posted by Pradeep Bhat:
Consider that If I use Xdoclet to generate primary key of an entity EJB. i modify the source. Now again I make change to xdoclet and run the script. Is Xdcolet smart enough to retain the changes that I made to the primary key source.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Lasse Koskela:
I believe Pradeep was talking about primary key classes(?)
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Originally posted by Craig Walls:
A-ha! My bad. I wasn't even thinking about PK classes. I so rarely use PK classes because I'm a firm believer in avoiding complex primary keys.
Originally posted by norman richards:
... then the primary key was really just a long value in a typed wrapper. (you couldn't mistakenly use a FooPK when I BarPK was called for...
Originally posted by David Harkness:
Was that worth the trouble? I suppose with XDoclet each bean's PK class could be generated automatically, but did you really see a benefit to doing this?
Originally posted by norman richards:
I didn't initiate the practice on the project, and I wasn't a huge fan of it. But that was how the system worked when I got there.
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|