Anonymous | Login | Signup for a new account | 12-17-2024 10:54 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000523 | [Resin] | feature | always | 12-20-05 08:28 | 01-17-06 11:03 | ||||
Reporter | anonymous | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.18 | Product Version | 3.0.16 | ||||
Product Build | |||||||||
Summary | 0000523: Implement toString() for com.caucho.sql.UserPreparedStatement | ||||||||
Description | It would be nice if the prepared statment implemenation that resin uses would implement a toString() function. | ||||||||
Steps To Reproduce | |||||||||
Additional Information |
For debugging it is sometimes helpful to just include a quick dump of a prepared statment (eg. System.out.println("QUERY: " + ps);). I realize that I am relying on implementation specific behavior, but I have found it to be pretty useful - especially for tracking down parameters that have not been filled in correctly or parameters that have been numbered wrong. Since your code appears to be just a simple proxy, the change should be pretty straightforward: ------------- CODE ----------- /** * Convert this prepared statment to a string. Only for debugging. */ public String toString() { return _pstmt.toString(); } ----------- END CODE ----------- |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |