Win a copy of Functional Reactive Programming this week in the Other Languages 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