Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3746 | feature | always | 11-05-09 11:32 | 11-05-09 12:47 | |
|
|||||
Reporter: | PeterJ | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.2 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.2 | ||
|
|||||
Summary: | 0003746: Enable overridding of setting TYPE_SCROLL_INSENSITIVE | ||||
Description: |
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.) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | quercus_scroll_insensitive.txt [^] (2,299 bytes) 11-05-09 11:32 |
Notes | |||||
|
|||||
|
|