-->
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: SQL query as appropriate for the database flavor ?
PostPosted: Thu Mar 24, 2005 2:25 pm 
Newbie

Joined: Thu Mar 24, 2005 2:17 pm
Posts: 5
I was looking at HIA: ch 7, pg 262 about how a HQL query would look as a resultant SQL query and was curious if Hibernate generates SQL query as appropriate for the database flavor.

For e.g. if an application needs to support multiple databases would Hibernate require different queries for different databases (e.g. in the case where the different databases have different ways of doing outer joins) ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 5:36 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
HQL and the Criteria API make Hibernate queries database portable. There are more than 20 (or even 25 now) database dialects in the Hibernate distribution.


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.