[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1654) Generate entities for JPA can fail when explicit listed classes in persistence.xml does not exist

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Aug 17 12:32:26 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-1654:
---------------------------------------

    Fix Version/s: 3.1.0.M4
                       (was: 3.1.0.M3)


> Generate entities for JPA can fail when explicit listed classes in persistence.xml does not exist
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1654
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-1654
>             Project: JBoss Tools
>          Issue Type: Feature Request
>          Components: Hibernate
>    Affects Versions: 2.0.0.GA
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>            Priority: Critical
>             Fix For: 3.1.0.M4
>
>
> e.g. if the listed class does not exist JPA will fail.
> Consider using PersistenceXmlLoader.deploy(URL url, Map overrides, EntityResolver resolver, PersistenceUnitTransactionType defaultTransactionType)
> to build a "safer" persistence unit.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list