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. Configuration.png
          28 kB
          Martin Gencur
        2. JBIDE-7568_valid_patch.txt
          0.8 kB
          Dmitry Geraskov
        3. JBIDE-7726.txt
          0.8 kB
          Dmitry Geraskov
        4. JBIDE-7726(2).txt
          0.7 kB
          Dmitry Geraskov
        5. JBTools vs. JBDS.png
          240 kB
          Martin Gencur
        6. JPA.png
          71 kB
          Martin Gencur
        7. PersistenceUnitNotFound.png
          70 kB
          Martin Gencur

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

              Created:
              Updated:
              Resolved: