This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate and ids

 
Kalpesh Soni
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use hibernate with tomcat and mysql
What id generation method should I use ?
How should I use connection pool ?
 
Ariel Araza
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kalpesh Soni:
I am trying to use hibernate with tomcat and mysql
What id generation method should I use ?
How should I use connection pool ?

I suggest you use native, and as for the pool you can use the standard DBCP pooling.
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the native id generation. Works fine for me!
Pho
 
Kalpesh Soni
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah it works
but do I have any other choice ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic