[
https://issues.jboss.org/browse/JBDS-2452?page=com.atlassian.jira.plugin....
]
Max Rydahl Andersen commented on JBDS-2452:
-------------------------------------------
the archetype should use: .addAsResource("META-INF/test-persistence.xml",
"META-INF/persistence.xml")
instead of .addAsResource("META-INF/persistence.xml",
"META-INF/persistence.xml") which would solve that.
Could not create JPA based Configuration after creating HTML5
project
---------------------------------------------------------------------
Key: JBDS-2452
URL:
https://issues.jboss.org/browse/JBDS-2452
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: hibernate
Affects Versions: 6.0.0.GA
Reporter: Jiri Peterka
Assignee: Fred Bricon
Priority: Critical
Labels: respin-a
Fix For: 7.0.0.CR1
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based
Configuration
Could not create JPA based Configuration
<No message>
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
javax.persistence.PersistenceException: No name provided and several persistence
units found
No name provided and several persistence units found
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira