Subject | FW: java.lang.ArrayIndexOutOfBoundsException: 0 after Updates |
---|---|
Author | Helmut Kaindl |
Post date | 2013-07-15T22:00:15Z |
Hello,
I prepare some Update Statements and execute them about 1000 times.
All the results are perfect.
After that I want to make another Update or Select with the same database Connection.
But I always get the
java.lang.Exception: java.lang.ArrayIndexOutOfBoundsException: 0
at esrasoftcommunications.Database.executeUpdate(Database.java:229)
Error.
If I close the connection and open a new at the correct Moment, everything is working fine.
When I Prepare the statements after every update, I get the error already while executing the Updates.
If I close and open the database Connection after every Update - the job cannot connect to my database after some time.
So there seem to be no way to get the job to run correct in my environment.
Using:
jaybird-full-2.2.3.jar
firebird2.5.1 classic on Ubuntu Linux 12.04
Would be glad about help.
Greetings from Austria
Helmut Kaindl
[Non-text portions of this message have been removed]
I prepare some Update Statements and execute them about 1000 times.
All the results are perfect.
After that I want to make another Update or Select with the same database Connection.
But I always get the
java.lang.Exception: java.lang.ArrayIndexOutOfBoundsException: 0
at esrasoftcommunications.Database.executeUpdate(Database.java:229)
Error.
If I close the connection and open a new at the correct Moment, everything is working fine.
When I Prepare the statements after every update, I get the error already while executing the Updates.
If I close and open the database Connection after every Update - the job cannot connect to my database after some time.
So there seem to be no way to get the job to run correct in my environment.
Using:
jaybird-full-2.2.3.jar
firebird2.5.1 classic on Ubuntu Linux 12.04
Would be glad about help.
Greetings from Austria
Helmut Kaindl
[Non-text portions of this message have been removed]