This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Generator class for non-primary columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Generator class for non-primary columns" Watch "Generator class for non-primary columns" New topic
Author

Generator class for non-primary columns

vinora kumar
Greenhorn

Joined: Dec 15, 2008
Posts: 26
hi as we all know we can configure a generator class for primary key in table.
i wanted the same for non-primary column.
can any one tell me how to do that with hibernate...


vino
vinora kumar
Greenhorn

Joined: Dec 15, 2008
Posts: 26
helooooooooo???


any idea???
 
Consider Paul's rocket mass heater.
 
subject: Generator class for non-primary columns
 
Similar Threads
Auto increment a non primay key column using hibernate annotation
Generator Class
Hibernate 3 Set Primary Key with code
adding more than one entry
what i will use in hbm when we use sequence at backend side ?