File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes hibernate and ids Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate and ids" Watch "hibernate and ids" New topic
Author

hibernate and ids

Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
I am trying to use hibernate with tomcat and mysql
What id generation method should I use ?
How should I use connection pool ?


Test 094, IBM WID 6.0 cert
SCJP 1.2
SCBCD 1.3 Beta
SCWCD 1.4 Beta
SCMAD Beta
SCDJWS Beta

KS
Ariel Araza
Greenhorn

Joined: Apr 15, 2004
Posts: 4
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

Joined: Nov 05, 2000
Posts: 761

I am using the native id generation. Works fine for me!
Pho


Regards,

Pho
Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
yeah it works
but do I have any other choice ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hibernate and ids