Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2452

Could not create JPA based Configuration after creating HTML5 project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • 7.0.0.CR1
    • 6.0.0.GA
    • hibernate
    • None
    • Hide

      EXE: On JBoss Central create HTML5 project
      EXE: Open Hibernate Configuration View
      EXE: Expand poh5 hibernate configuration
      ASSERT: Configuration should be expanded without errors

      Show
      EXE: On JBoss Central create HTML5 project EXE: Open Hibernate Configuration View EXE: Expand poh5 hibernate configuration ASSERT: Configuration should be expanded without errors
    • Workaround Exists
    • Hide

      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.

      Show
      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.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              jpeterka_jira Jiri Peterka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: