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

Run Schema Export from Hibernate Console Configuration error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M5
    • hibernate
    • None
    • Hide

      1. Create Java Project
      2. Create Hibernate 3.5 Console Configuration
      3. Generate code from HSQL Database
      4. Domain code and Hibernate XML mapping
      5. Remove all tables from database
      6. In Hibernate Configuration View -> select Hibernate Configuration -> In context menu, Run SchemaExport
      ERROR: java.sql.SQLException: S1000 General error java.lang.RuntimeException: database alias does not exist

      Which is strange becuase database can be connected via Hibernate Configuration

      Show
      1. Create Java Project 2. Create Hibernate 3.5 Console Configuration 3. Generate code from HSQL Database 4. Domain code and Hibernate XML mapping 5. Remove all tables from database 6. In Hibernate Configuration View -> select Hibernate Configuration -> In context menu, Run SchemaExport ERROR: java.sql.SQLException: S1000 General error java.lang.RuntimeException: database alias does not exist Which is strange becuase database can be connected via Hibernate Configuration
    • Hide

      It probably possible to use JPA Generate Tables from entities after project convert

      Show
      It probably possible to use JPA Generate Tables from entities after project convert

      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)

            dgeraskov Dmitry Geraskov (Inactive)
            jpeterka_jira Jiri Peterka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: