Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7726

Could not create JPA based Configuration thrown when using Hibernate Console on a project generated with SeamGen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.2.0.Beta2, 3.2.0.CR1
    • 3.2.0.Beta2
    • hibernate
    • None
    • Workaround Exists
    • Hide

      Check "Core" option in hibernate configuration instead of the default value "JPA (jdk1.5+)".

      Show
      Check "Core" option in hibernate configuration instead of the default value "JPA (jdk1.5+)".

      Steps to reproduce the bug:
      1) import a Seam project generated by SeamGen, enable Seam support on the project
      2) open Window -> Show View -> Hibernate Configurations, click the project in the view
      3) now you get the exception shown in the attached screenshot

        1. warproject.zip
          159 kB
        2. PersistenceUnitNotFound.png
          PersistenceUnitNotFound.png
          70 kB
        3. JPA.png
          JPA.png
          71 kB
        4. JBTools vs. JBDS.png
          JBTools vs. JBDS.png
          240 kB
        5. JBIDE-7726(2).txt
          0.7 kB
        6. JBIDE-7726.txt
          0.8 kB
        7. JBIDE-7568_valid_patch.txt
          0.8 kB
        8. Configuration.png
          Configuration.png
          28 kB

              dgeraskov Dmitry Geraskov (Inactive)
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: