[jbosstools-issues] [JBoss JIRA] (JBDS-2452) Could not create JPA based Configuration after creating HTML5 project
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Wed Jul 3 08:11:21 EDT 2013
[ https://issues.jboss.org/browse/JBDS-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Bricon updated JBDS-2452:
------------------------------
Labels: (was: respin-a)
Workaround Description:
If the error occurs, one needs to open the Project properties > Hibernate Settings > select the console configuration and click on details.
The persistence unit name must be set, using the name found in the main persistence.xml.
Workaround: Workaround Exists
> 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
> 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
More information about the jbosstools-issues
mailing list