This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "problem in programatic inserts" Watch "problem in programatic inserts" New topic

problem in programatic inserts

lakshmana dhanimireddi

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

Joined: Aug 22, 2010
Posts: 3717

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:
subject: problem in programatic inserts
It's not a secret anymore!