[hibernate-dev] HSEARCH-429

Emmanuel Bernard emmanuel at hibernate.org
Fri Dec 4 07:51:41 EST 2009


> I'm not sure if I follow with regards to "and a String  
> (configuration)".  I was thinking that what I needed to cater for  
> was a Class and object reference being passed as was the initial  
> case with the ProgrammaticAPI test.   Would be possible to get some  
> clarification on that.

Somebody must be able to do

<persistence-unit name="users" ...>
   <properties>
     <property name="hibernate.search.mapping_model"  
value="com.acme.mapping.SearchMappingFactory"/>
  ...
   </properties>
</persistence-unit>

in this case it passes a string representation of the class, not the  
class object.





More information about the hibernate-dev mailing list