[
http://jira.jboss.com/jira/browse/JBIDE-1654?page=all ]
Max Andersen updated JBIDE-1654:
--------------------------------
Summary: Generate entities for JPA can fail when explicit listed classes in
persistence.xml does not exist (was: Generate entities for JPA can fail when explicit
listed classes in persistence.xml)
Fix Version/s: 2.2.x
(was: 2.1)
Generate entities for JPA can fail when explicit listed classes in
persistence.xml does not exist
-------------------------------------------------------------------------------------------------
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
Assigned To: Max Andersen
Fix For: 2.2.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.
-
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