-->
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.  [ 4 posts ] 
Author Message
 Post subject: can anybody help me about the HQL?
PostPosted: Wed May 16, 2007 9:04 pm 
Newbie

Joined: Thu May 10, 2007 9:30 am
Posts: 4
I want to search all users related with the user name, I did write like this:
select user_id from Users where user_name like '%:name%', but It doesn't work, can anybody help me? thanks a lot.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 10:07 pm 
Expert
Expert

Joined: Wed Apr 06, 2005 5:03 pm
Posts: 273
Location: Salt Lake City, Utah, USA
http://forum.hibernate.org/viewtopic.php?t=943637&highlight=

_________________
nathan


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 10:26 pm 
Newbie

Joined: Thu May 10, 2007 9:30 am
Posts: 4
thank you very much, I got it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 10:28 pm 
Newbie

Joined: Thu May 10, 2007 9:30 am
Posts: 4
thank you very much, I got it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.