• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Needed....

 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a sequence in oracle say myseq.
How do i use it in hibernate as a id?

Thanks in advance.
Shrimon.
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set up a <generator> within the <id> element:[ Added <id> context. ]
[ April 21, 2005: Message edited by: David Harkness ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic