db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: java.lang.RuntimeException: java.sql.SQLException: ResultSet not open
Date Fri, 29 Oct 2010 02:47:34 GMT
To turn autocommit off, call Connection.setAutoCommit(false); Here's some docs:

If you don't turn autocommit off, you will indeed discover that the automatic
commit process can close various cursors and result sets at awkward times:

You can gain a better understanding of the behavior of your application by
learning to read the derby.log logfile, and by learning to use the various
Derby trace flags, such as derby.language.logStatementText.

If you can post more details about the specifics of your situation, the
community will be able to give you more detailed suggestions.



View raw message