[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-224) <exclude-unlisted-classes>false</exclude-unlisted-classes> has no effect on J2SE

Antony Stubbs (JIRA) noreply at atlassian.com
Tue Jul 29 23:53:47 EDT 2008


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

Antony Stubbs commented on EJB-224:
-----------------------------------

dupe of EJB-212

> <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
>          Issue Type: Bug
>          Components: EntityManager
>    Affects 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list