-->
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.  [ 3 posts ] 
Author Message
 Post subject: HQL regex
PostPosted: Wed Dec 19, 2007 5:13 am 
Newbie

Joined: Wed Aug 29, 2007 11:23 pm
Posts: 1
i'm using hibernate 3.2
i need to use regex in my hql
can some one help me
cause i already search in refence and can't find it

my query is
FROM com.data.Master WHERE employee_id like '[a-zA-Z]'
i want to search just the employee_id which not contain numeric

i try in sql server, it's work, but in hql it doesn't work

thx


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 28, 2008 4:15 am 
Regular
Regular

Joined: Thu Oct 13, 2005 4:19 am
Posts: 98
use rlike
http://opensource.atlassian.com/projects/hibernate/browse/HB-1034

_________________
http://www.ohloh.net/accounts/ge0ffrey


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 01, 2008 2:43 pm 
Newbie

Joined: Mon Dec 01, 2008 1:40 pm
Posts: 5
http://opensource.atlassian.com/project ... e/HHH-3404


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