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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Aug 28 19:20:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-193?page=comments#action_24187 ] 

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

Hi Benjamin,
What's wrong exactly with the persistence provider looking for ORM.xml?
Any specific issue?

autodiscovery really reflect the ability to scan the jar for annotated classes, this is not really related to ORM.xml

> Make it possible to disable autodiscovery
> -----------------------------------------
>
>          Key: EJB-193
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-193
>      Project: Hibernate Entity Manager
>         Type: New Feature

>     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