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

Exception during generation entities: "Could not get list of suggested identity strategies from database"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.1.0.GA
    • 3.1.0.CR2
    • hibernate
    • None

      EXECUTE: Download and launch sample HSQL database(attached).
      EXECUTE: Create Seam 2.2 war project. In connection profile set target db - this sample db(hsql://localhost:1701).
      EXECUTE: Expand database node in Hibernate Configurations view.
      FAILURE: Exception thrown about "naming strategy".
      EXECUTE: Select this Seam project > New > Generate Entities > Reverse.
      FAILURE: Exception thrown about "naming strategy". Error log attached.

      Updated:
      Problem with hsqldb.jar from example database (from our guides). Replacing jar with new one solve problem.

      http://download.jboss.org/jbosstools/nightly-docs/en/GettingStartedGuide/html/first_seam.html#create_seam_application

      3.1.1. Start Development Database
      http://anonsvn.jboss.org/repos/jbosstools/trunk/documentation/guides/GettingStartedGuide/en/database.zip

      This example has old version of hsqldb.jar. Please, update this example.

        1. Workshop Database.zip
          717 kB
        2. JBIDE-5957 (2).patch
          1.0 kB
        3. JBIDE-5957.patch
          0.7 kB
        4. DBerrorJDBS.txt
          19 kB

              manderse@redhat.com Max Andersen
              anis_jira Aliaksey Nis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: