-->
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.  [ 1 post ] 
Author Message
 Post subject: HQL or SQL ?
PostPosted: Wed Jun 06, 2007 4:51 pm 
Newbie

Joined: Wed Jun 06, 2007 4:21 pm
Posts: 3
Hi! I would like to know if in terms of performance is there any difference between calling a HQL like "from User u where u.name ='Martin'" or calling a SQL like "select {u.*} from rt_users u where u.name = 'Martin'".

Is it possible that previously to call the HQL something checkout inside the Castle Dynamic Proxy and then builds the ending SQL? For me it seems to be better to use a HLQ... but I am not sure!


Hibernate version: 1.2.0.4000
Name and version of the database you are using: SQLServer 2000


Best regards,

Martin


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

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.