[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-429?pag...
]
Emmanuel Bernard resolved HSEARCH-429.
--------------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.2.0.Beta3)
3.2.0.Beta2
Add a configuration property to declaratively use a factory for the
programmatic mapping API (Amin Mohammed-Coleman)
--------------------------------------------------------------------------------------------------------------------
Key: HSEARCH-429
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-429
Project: Hibernate Search
Issue Type: New Feature
Reporter: Emmanuel Bernard
Fix For: 3.2.0.Beta2
The current model when using the programmatic mapping API is to pass the instance of
SearchMapping to the Configuration object. This is not possible in simple environments
when Hibernate bootstrapping is done automatically.
hibernate.search.mapping_factory com.acme.SearchMappingFactory
could be used.
Either the SearchMappingFactory class implements a MappingFactory.getMapping() interface
or we look for a @Factory annotation on the class methods.
TODO think about injection and how to get external info.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira