The moose likes JDBC and the fly likes RefreshRow Problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JDBC
Reply Bookmark "RefreshRow Problem." Watch "RefreshRow Problem." New topic
Author

RefreshRow Problem.

Nijeesh Balan
Ranch Hand

Joined: Oct 09, 2000
Posts: 116
Hi,
We are facing a weird problem.. Still not able to find a way out..
When we fire a SELECT query with a "Order by" Clause it throws an error.
java.sql.SQLException: operation not allowed: Unsupported syntax for refreshRow()
but the same works if the no., of records in the table is less than 10.
Please help.
Thanks in Advance,
Nijeesh.


Thanks & Regards,<br />Nijeesh.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Here's an Oracle document on this topic:
http://download-west.oracle.com/otndoc/oracle9i/901_doc/java.901/a90211/resltset.htm#1018134

I've given you an anchor'd link, so search from that point downward until you find "Result Set Limitations and Downgrade Rules", and under that "Result Set Limitations"

This is how Oracle has implemented the API, and perhaps the database you are using has done something similar.

This is also being moved to the JDBC forum.
 
 
subject: RefreshRow Problem.
 
Threads others viewed
Unsupported syntax for refreshRow()
RESULTSET PROBLEM
refresh Row not working
JDBC connection query
sql exception
developer file tools