[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5026) Ability to customize Scanner strategies
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Mar 22 15:08:31 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35911#action_35911 ]
Emmanuel Bernard commented on HHH-5026:
---------------------------------------
Hi Andreas.
Yes, I think it should work if you write your custom scanner that goes and does some merging magic.
But again a JPA app is perfectly modularizable. Just follow the JPA constructs for that. http://lists.jboss.org/pipermail/hibernate-dev/2010-February/004810.html
> Ability to customize Scanner strategies
> ---------------------------------------
>
> Key: HHH-5026
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5026
> Project: Hibernate Core
> Issue Type: New Feature
> Components: entity-manager
> Affects Versions: 3.5.0-CR-2
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
> Fix For: 3.5.0.Next
>
>
> hibernate.ejb.resource_scanner
> By default, Hibernate EntityManager scans itself the list of resources for annotated classes and persistence deployment descriptors (like orm.xml and hbm.xml files).
> You can customize this scanning strategy by implementing org.hibernate.ejb.packaging.Scanner. This property is used by container implementors to improve integration with Hibernate.
> Accepts an instance of Scanner or the file name of a no-arg constructor class implementing Scanner.
--
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