This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes cachedrowset acceptchanges()  NOT working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "cachedrowset acceptchanges()  NOT working" Watch "cachedrowset acceptchanges()  NOT working" New topic
Author

cachedrowset acceptchanges() NOT working

tushar panda
Ranch Hand

Joined: Feb 16, 2009
Posts: 133
i wrote this code so that "cachedrowset -- crs" (i got from the "resultset -- rs") can be changed according to the condn specified and the modified cachedrowset will be updated in the oracle database.

condn. is when " name=sanjiv" it will change it to "rajiv" both in cachedrowset and database , it is changed in the cachedrowset (according to output below) but NOT changed in the database.

the output is



strange thing is it is not reflected in oracle database even after line 39






Do Right , Fear No Man
 
GeeCON Prague 2014
 
subject: cachedrowset acceptchanges() NOT working