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: use parameters in sql
PostPosted: Thu Jun 19, 2008 2:03 pm 
Newbie

Joined: Wed Sep 27, 2006 2:54 pm
Posts: 15
Hibernate version: 1.2.1.4000

Mapping documents: Xml documents

Use: Nhibernate with ASP.NET 2.0

i found that nhibernate when create sql query , it is not used sql parameters on it. i just want to know how can i force nhibernate to use sql parameters with sql queries ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 9:20 am 
Senior
Senior

Joined: Thu Jun 21, 2007 8:03 am
Posts: 127
Location: UK
Quote:
... it is not used sql parameters on it.


I believe NHibernate always uses parameterised SQL. Can you confirm how you determined otherwise?

Richard


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.