Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updating data to a database on an AS/400

843859Jan 15 2008 — edited Nov 20 2014
I am trying to update data to a database on our AS/400 and I am getting an error:

Got an exception! AS400
.Cursor state not valid..

When I execute my code with hard coded values to update the database with it will update the fields and send this error, if I try to update the database by referencing a different class it doesn't update the database and I get this error message:

Got an exception! AS400
.null.

Does anyone know how to fix these errors?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2008
Added on Jan 15 2008
6 comments
181 views