-->
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: How to search Integer (id) by LIKE
PostPosted: Mon Nov 08, 2004 5:36 am 
Newbie

Joined: Mon Nov 08, 2004 5:14 am
Posts: 2
How to search Integer (id) by LIKE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 5:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Not possible. Not even in SQL


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 5:57 am 
Newbie

Joined: Mon Nov 08, 2004 5:14 am
Posts: 2
SELECT id
FROM Supplier
WHERE (id LIKE '%1%')


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 08, 2004 6:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Well, if your database accepts that, it should work in HQL just the same way.


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.