[
http://opensource.atlassian.com/projects/hibernate/browse/EJB-224?page=all ]
Emmanuel Bernard resolved EJB-224:
----------------------------------
Resolution: Duplicate
<exclude-unlisted-classes>false</exclude-unlisted-classes> has no effect on
J2SE
---------------------------------------------------------------------------------
Key: EJB-224
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-224
Project: Hibernate Entity Manager
Type: Bug
Components: EntityManager
Versions: 3.2.0.cr1
Environment: J2SE, JDK5
Versions :
-----------
Hibernate Core 3.2.CR2
Hibernate Annotations 3.2.0 CR1
Hibernate Entity Manager 3.2.0 CR1
Reporter: Sami Dalouche
When using the EntityManagerFactory from a webapplication (jetty), all my @Entity classes
are detected, and mapped correctly.
When running the same code from Eclipse (run java application), hibernate doesn't
detect any of my @Entity. Everything works perfectly if I add all the corresponding
<class> entries in persistence.xml.
the following code :
<persistence-unit ...>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
</persistence-unit ...>
does not seem to have any effect..
--
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