-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: REGARDING MULTIPLE DB CONFIGURATION
PostPosted: Wed Feb 08, 2006 1:21 am 
Beginner
Beginner

Joined: Mon Jan 30, 2006 2:28 am
Posts: 47
Location: INDIA
hI experts,

I am developing Application using Struts with Hibernate. In my development some tables to be connected with my application.

Experts just u tell that the Definitions of the Hibernate is Common for all the Databases which are currently Used by all the developers.

Is all the Databases accepts all ID Generator of Hibernate (for eg., sequence, increment)?

If yes then please tell me the sequence of the Coding for the mapping in Hibernate which satisfy all Databases (i.e. Oracle, Sybase, MySQL, MS SqlServer,PostgreSQL).

If no then is there is any alternative way to accomplish the task. We cannot depend on one database, because the client requirements are vary time to time and based on their Standards.

Thanks
Edward

_________________
A.Edward Durai
"The things which are impossible with men are possible with God."


Top
 Profile  
 
 Post subject: Re: REGARDING MULTIPLE DB CONFIGURATION
PostPosted: Wed Feb 08, 2006 1:14 pm 
Regular
Regular

Joined: Fri Sep 09, 2005 11:35 am
Posts: 101
Is all the Databases accepts all ID Generator of Hibernate (for eg., sequence, increment)?
No

If yes then please tell me the sequence of the Coding for the mapping in Hibernate which satisfy all Databases (i.e. Oracle, Sybase, MySQL, MS SqlServer,PostgreSQL).
Look in org.hibernate.id package to find out which generator will be best for you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.