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

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed Mar 2 04:02:06 EST 2011


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

Dmitry Geraskov updated JBIDE-1654:
-----------------------------------

    Fix Version/s: 3.3.x
                       (was: 3.2.x)


slip to next version.

> Generate entities for JPA can fail when explicit listed classes in persistence.xml does not exist
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1654
>                 URL: https://issues.jboss.org/browse/JBIDE-1654
>             Project: Tools (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.3.x
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list