[jbosstools-issues] [JBoss JIRA] (JBIDE-10467) Run Schema Export from Hibernate Console Configuration error

Dmitry Geraskov (Commented) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 05:18:09 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650794#comment-12650794 ] 

Dmitry Geraskov commented on JBIDE-10467:
-----------------------------------------

About alias problem:
I tried to find similar problems by Google and seem you didn't specify database name in your url. This is an HSQLDB specific problem. The url should have database name/alias like mydb
in the url:
  jdbc:hsqldb:hsql://localhost/mydb
or it should be specified when server starts:
  java -cp ../lib/hsqldb.jar org.hsqldb.Server -database.0 file:xdb -dbname.0 mydb
                
> Run Schema Export from Hibernate Console Configuration error
> ------------------------------------------------------------
>
>                 Key: JBIDE-10467
>                 URL: https://issues.jboss.org/browse/JBIDE-10467
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M5
>            Reporter: Jiri Peterka
>            Assignee: Dmitry Geraskov
>             Fix For: 3.3.0.Beta1
>
>         Attachments: hb-schema.log
>
>
> Hibernate Configuration Run SchemaExport action gives me:
> java.sql.SQLException: S1000 General error java.lang.RuntimeException: database alias does not exist
> 	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
> 	at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
> 	at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
> 	at org.hsqldb.jdbcDriver.connect(Unknown Source)
> 	at org.hibernate.eclipse.libs.FakeDelegatingDriver.connect(FakeDelegatingDriver.java:40)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list