-->
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: Defining LIKE semantic for usertype
PostPosted: Sun Feb 08, 2009 1:35 pm 
Newbie

Joined: Thu May 26, 2005 7:25 am
Posts: 13
Hibernate version: 3.2

Hi dears,

I'm just unable to find a proper explanation. What I have is an usertype defined in order to map a value object with two attributes in a single database column. I would like to use the LIKE operator over one of those attributes in my hql query but hibernate prevents me to do it. Is there any way to define the semantic of LIKE for this kind of values?

Thanks in advance, and excuse my English.

jv


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 09, 2009 8:42 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
Can you post the relevant mapping and HQL you are using?

_________________
Regards,
Litty Preeth


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.