File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Generator for Oracle 11g Sequence.

 
Gaurav Pravin Dighe
Greenhorn
Posts: 23
Oracle
  • 0
  • 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?
 
Pr Gupta
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use sequence generator class.
 
tester anders
Greenhorn
Posts: 1
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manikandan Govindaraj,
Your post was moved to a new topic.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic