[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-3) Default FieldBridge for booleans

Sylvain Vieujot (JIRA) noreply at atlassian.com
Fri Feb 9 18:17:40 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-3?page=all ]

Sylvain Vieujot updated HSEARCH-3:
----------------------------------

    Attachment: BooleanBridge.java

Add the attached file to the source tree, and change BridgeFactory as follows : 

public static final TwoWayFieldBridge BOOLEAN = new TwoWayString2FieldBridgeAdaptor( new BooleanBridge() );

In the static{ ...} statement that starts around line 63, add :
		builtInBridges.put( Boolean.class.getName(), BOOLEAN );
		builtInBridges.put( boolean.class.getName(), BOOLEAN );

> Default FieldBridge for booleans
> --------------------------------
>
>          Key: HSEARCH-3
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-3
>      Project: Hibernate Search
>         Type: New Feature

>     Reporter: Sylvain Vieujot
>      Fix For: FIRST
>  Attachments: BooleanBridge.java
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list