This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 3718
    
  61

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.
 
Have you checked out Aspose?
 
subject: problem in programatic inserts
 
It's not a secret anymore!