[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-5957) Exception during generation entities: "Could not get list of suggested identity strategies from database"

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Mar 3 08:40:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen resolved JBIDE-5957.
----------------------------------------

    Resolution: Done


Fixed by Dima, by replacing FALSE with 0<1 to make it work in older versions of hsqldb + we now no longer blow up in case there is some error but instead log it and fall back to the default strategy.

> Exception during generation entities: "Could not get list of suggested identity strategies from database"
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-5957
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5957
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.1.0.CR2
>         Environment: WindowsXP SP2
> JBoss Developer Studio
> Version: 3.0.0
> Build id: jbdevstudio-eap-win32-3.0.0.v201002232140M-H180-CR2
> JRE 1.6
>            Reporter: Aliaksey Nis
>            Assignee: Max Rydahl Andersen
>            Priority: Blocker
>             Fix For: 3.1.0.CR3
>
>         Attachments: DBerrorJDBS.txt, JBIDE-5957 (2).patch, JBIDE-5957.patch, Workshop Database.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list