[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-193) Make it possible to disable autodiscovery
Benjamin Hawkes-Lewis (JIRA)
noreply at atlassian.com
Tue Aug 29 09:04:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-193?page=comments#action_24206 ]
Benjamin Hawkes-Lewis commented on EJB-193:
-------------------------------------------
Emmanuel,
Max explained the issue to me better than I can explain it to you. I can remember little of the specifics, since I'm not currently using Hibernate, unfortunately. But the issue I think was that, when using Hibernate without ORM.xml, Hibernate was generating a whole series of error log items because it was looking for ORM.xml and not finding it, even though it doesn't actually need to find it.
It's related to scanning for annotated classes, because ORM.xml is one source of where to look for them.
I hope that makes more sense now.
> 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