aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3435
    
  47

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
Table Update Event
Bizzare behavior of Oracle
Failed to insert a record into MSAcess
No ResultSet was produced
Adding files to jar