org.jboss.jdbc.HypersonicDatabase stopping HSQLDB 2.0 throws Exception
----------------------------------------------------------------------
Key: JBAS-8330
URL:
https://jira.jboss.org/browse/JBAS-8330
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-5.1.0.GA
Environment: JBoss 5.1.0GA, HSQLDB 2.0
Reporter: Ondrej Medek
Priority: Minor
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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira