-->
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: How to index a character - Field Bridge
PostPosted: Tue Jan 20, 2009 12:25 am 
Beginner
Beginner

Joined: Mon Oct 01, 2007 8:21 am
Posts: 40
Hi,

I would like to know how to index a character. I think there is no built in bridge for character data type.

Is there any example how to index a character.
private Character isDeleted;

Do i need to write a CustomBridge. If so any idea.

If possible could anybody give me some examples regarding this.

For Boolean bridge is it specified in ref doc, but i couldn't find anything for that.

Thanks,
Ambika.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2009 6:00 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

I created a new Jira issue for that - http://opensource.atlassian.com/project ... SEARCH-334. It kind of make sense to have a builtin bridge for that.

Since you probably don't want to wait for this feature I recommend implementing your own StringBridge. Have a look at the online docs to see how this is down.

Alternatively change the Character to a String.

--Hardy


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.