[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1077) exclude-unlisted-classes in persestence.xml doesn't work for tools

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Aug 4 09:30:30 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30803 ] 

Max Rydahl Andersen commented on HBX-1077:
------------------------------------------

this is probably just becasue we are not using entitymanager witversion that has the fix - but a test case for this would be appreciated.

> exclude-unlisted-classes in persestence.xml doesn't work for tools
> ------------------------------------------------------------------
>
>                 Key: HBX-1077
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1077
>             Project: Hibernate Tools
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: n/a
>            Reporter: Antony Stubbs
>
> Similar to EJB-212, exclude-unlisted-classes doesnt' seem to work for hibernate tools. I seem to either have to list a .hbm file in the configuration, or include the entity class in the persistence.xml.
> Although, Eclipse JPA perspective picks up the mapping, when the entity is not listed anywhere and only having exclude-unlisted-classes set to false.
> When trying to use tools with just exclude-unlisted-classes set, I get "EntityName is not mapped" and no entities appear under the console configuration.

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