[jbosstools-issues] [JBoss JIRA] (JBDS-2452) Could not create JPA based Configuration after creating HTML5 project

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Jul 3 07:30:20 EDT 2013


    [ https://issues.jboss.org/browse/JBDS-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787243#comment-12787243 ] 

Max Rydahl Andersen commented on JBDS-2452:
-------------------------------------------

how is the main persistence unit defined in this ? looks like just being the first found  - that could also be the test persistence.xml then ?
                
> 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


More information about the jbosstools-issues mailing list