Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit not working in hsqldb 2.2 preparedStat

2012-03-30
2014-01-19
  • viniciusmss
    viniciusmss
    2012-03-30

    Hi,

    This work at version 2.0, but not at version 2.2:

    PreparedStatement prepStmt = connection.prepareStatement("COMMIT");
    prepStmt.executeUpdate();
    

    Vesion 2.2 result in:

    java.sql.SQLException: java.util.NoSuchElementException java.util.NoSuchElementException
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
    

    Att,
    Viniciusmss

     
  • Fred Toussi
    Fred Toussi
    2012-04-03

    Thanks. Fixe committed to SVN /base/trunk