Ahmed Merghani
asked on
problelm with JDBC
Hi every body,
i`am facing a problem with JDBC API method ( deleteRow ). I want to use this method to delete a row of data from the result set which is "scrollable and updatable".
but i get the following sql exception :
Invalid operation for read only resultset
i`m using Oracle 9i as a database server, and sending the requests from JSP files.
The connection is stablished via the Oracle driver "oracle.jdbc.driver.Oracle Driver"
actually, i tried this method with MS Access and it`s working probarly.
Thanx alot
i`am facing a problem with JDBC API method ( deleteRow ). I want to use this method to delete a row of data from the result set which is "scrollable and updatable".
but i get the following sql exception :
Invalid operation for read only resultset
i`m using Oracle 9i as a database server, and sending the requests from JSP files.
The connection is stablished via the Oracle driver "oracle.jdbc.driver.Oracle
actually, i tried this method with MS Access and it`s working probarly.
Thanx alot
I'd prefer using plain vanilla SQL.
BTW JDBC does not require scrollable&updateable to work together so SQL exception can be expected.
ASKER
hi all,
thanx, i had solve it.
thanx, i had solve it.
looks like you are right here
ASKER
hi,
the solution is to change the driver
thanx
the solution is to change the driver
thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(MS Access locks all records and scrolls using interface controls....)