Link to home
Start Free TrialLog in
Avatar of Ahmed Merghani
Ahmed MerghaniFlag for Sudan

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.OracleDriver"

actually, i tried this method with MS Access and it`s working probarly.

Thanx alot
Avatar of gheist
gheist
Flag of Belgium image

Then keep on using MS Access with JDBC support....
(MS Access locks all records and scrolls using interface controls....)
Avatar of alikoank
alikoank

I'd prefer using plain vanilla SQL.
BTW JDBC does not require scrollable&updateable to work together so SQL exception can be expected.
Avatar of Ahmed Merghani

ASKER

hi all,
thanx, i had solve it.
looks like you are right here
hi,
   the solution is to change the driver
thanx
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial