Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8330

org.jboss.jdbc.HypersonicDatabase stopping HSQLDB 2.0 throws Exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • No Release
    • JBossAS-5.1.0.GA
    • None
    • JBoss 5.1.0GA, HSQLDB 2.0

    • Low

      Hi,

      I have tried a new HSQLDB 2.0 with JBoss 5.1.0GA. It works fine. Just the org.jboss.jdbc.HypersonicDatabase.stopStandaloneDatabase() throws an exception:

      org.hsqldb.HsqlException: statement does not generate a result set

      I guess the code:

      statement.executeQuery(shutdownCommand);

      should be replaced by

      statement.executeUpdate(shutdownCommand);

      (But i have not tried it, though).

              Unassigned Unassigned
              xmedeko Ondrej Medek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: