[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-193) Make it possible to disable autodiscovery

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Apr 16 15:09:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26736 ] 

Emmanuel Bernard commented on EJB-193:
--------------------------------------

I haven't find any error popping up when ORM.xml is not there in the latest code base, do you still have the problem.
PS: looking for META-INF/orm.xml is mandatory, so I am afraid the scanning cannot be avoided.

> Make it possible to disable autodiscovery
> -----------------------------------------
>
>                 Key: EJB-193
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-193
>             Project: Hibernate Entity Manager
>          Issue Type: New Feature
>    Affects Versions: 3.2.0.cr1
>            Reporter: Benjamin Hawkes-Lewis
>
> Currently even if hibernate.archive.autodetection is set to an empty string (""), Hibernate still tries to open a zipped EJB packaging. Apparently, it's looking for orm.xml. Given that auto discovery support for Java SE containers is not required by the spec, and therefore may never be complete, it would be good to be able to turn it off.

-- 
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