This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes problem in programatic inserts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem in programatic inserts" Watch "problem in programatic inserts" New topic
Author

problem in programatic inserts

lakshmana dhanimireddi
Greenhorn

Joined: Jul 05, 2011
Posts: 18

I have created a resultset of type scroll sensitive and concur updatable. I inserted a new row programatically but a can't access that new row from that result set. How can i access the rows which are programatically inserted in thin driver?
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Some JDBC drivers have certain limitations regarding scroll sensitivity (and might even introduce some performance penalties for this type of cursors). As an example, you can see what Oracle's documentation says about its JDBC driver implementation.

If you post details regarding your database and JDBC driver versions, someone might provide you a better answer. However, I'd suggest not to use scroll sensitivity and look for another solution that would not depend on it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in programatic inserts
 
Similar Threads
Adding files to jar
No ResultSet was produced
Table Update Event
Failed to insert a record into MSAcess
Bizzare behavior of Oracle