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.