• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Generator for Oracle 11g Sequence.  RSS feed

 
Greenhorn
Posts: 23
Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am using Oracle 11g and Hibernate 3.6.10 in Java Application. I am at starting level of Hibernate.
I have a table name USERDETAILS

UserDetails
---------------------
userID-----------PK---Oracle 11g Sequence created
userName

Could you please uide me which generatot to be used

Below is the hibernate.cfg.xml



Could anyone let me know which generator class to be used?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use sequence generator class.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manikandan Govindaraj,
Your post was moved to a new topic.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!