Mantis - Quercus
Viewing Issue Advanced Details
3746 feature always 11-05-09 11:32 11-05-09 12:47
PeterJ  
nam  
normal  
closed 4.0.2  
fixed  
none    
none 4.0.2  
0003746: Enable overridding of setting TYPE_SCROLL_INSENSITIVE
I am trying to extend Quercus to support another database, but that database does not support TYPE_SCROLL_INSENSITIVE for queries, which means that neither the JdbcConnectionResource.query or JdbcStatementResource.prepare methods are working for me.

The patch that I have attached creates a new method, JdbcConnectionResource.canSeek(), and used that method to determine what parameters to add to a query. By default, it returns true, which means existing code continues to work as is. Then developers working on integrating other databases can override canSeek() when extending JdbcConnectionResource. (I have tested this.)
 quercus_scroll_insensitive.txt [^] (2,299 bytes) 11-05-09 11:32

Notes
(0004286)
nam   
11-05-09 12:47   
feature request added

protected boolean isSeekable() { return true; }