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

Max Andersen (JIRA) jira-events at lists.jboss.org
Fri Jan 18 09:06:21 EST 2008


Generate entities for JPA can fail when explicit listed classes in persistence.xml
----------------------------------------------------------------------------------

                 Key: JBIDE-1654
                 URL: http://jira.jboss.com/jira/browse/JBIDE-1654
             Project: Tools (JBoss Tools)
          Issue Type: Bug
    Affects Versions: 2.0.0.GA
            Reporter: Max Andersen
             Fix For: 2.1


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list