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: Expression.Sql , CreateSQLQuery
PostPosted: Tue Apr 07, 2009 3:33 am 
Newbie

Joined: Mon Dec 01, 2008 8:45 am
Posts: 3
does Expression.Sql , CreateSQLQuery etc create SQL dependencies in nhibernate
ie, whether these will fail while running in another DB; mysql, oracle etc..?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 07, 2009 10:57 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
Expression.Sql, CreateSQLQuery:
Depends on the sql you use in the statement. If you use features that are not supported by all databases then they will fail

CreateQuery/CreateCriteria:
These queries are based on the mapping and the generated sql depends on the dialect that is specified in the config file.

_________________
--Wolfgang


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.