• Subject: Re: Exception: Cursor State Not Valid
  • From: "Luther Ananda Miller" <luther.miller@xxxxxxxxxx>
  • Date: Mon, 25 Oct 1999 15:25:29 +0200

Title: Exception: Cursor State Not Valid
Are you using executeQuery() to do the insert? If so, try executeUpdate() instead. I think this error is experienced when executeQuery() is used for a statement which does not returns a result set (cursor).
-----Original Message-----
From: AnanthaRamaiah, Gururaja (CTS) <AGururaj@DBSS.COM>
To: java400-l@midrange.com <java400-l@midrange.com>
Date: Tuesday, 26 October 1999 1:02
Subject: Exception: Cursor State Not Valid

        We have a V4R4 m/c. I am using AS/400 toolbox for executing queries. Whenever I insert a record into the database, I get an exception Cursor State Not Valid. It would have performed the insert operation properly. Can you please advise how to overcome this exception

Thanks and Regards

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.