|
Correction: Instead of modifying rrefjdbc59162.dita to be a general "java.sql.Statement interface" topic, the still-current information needs to be added to the existing "java.sql.Statement interface" topic, rrefjdbc40794.dita. I lost track of it because it's out of alphabetical order. Putting the topics in alphabetical order is yet another subtask.
Two of the JDBC 2.0 files to be removed are cross-referenced from the topic rrefjdbc96386.dita, "Mapping of java.sql.Blob and java.sql.Clob interfaces". I will remove these cross-references. Other changes to rrefjdbc96386.dita can be part of another subtask.
Attaching a patch,
D src/ref/rrefjdbc99392.dita D src/ref/rrefjdbc2_0summary.dita D src/ref/rrefjdbc66688.dita D src/ref/rrefjdbc59162.dita D src/ref/rrefjdbc77156.dita D src/ref/rrefjdbc71949.dita D src/ref/rrefjdbc80004.dita D src/ref/rrefjdbc52637.dita M src/ref/refderby.ditamap M src/ref/rrefjdbc40794.dita M src/ref/rrefjdbc96386.dita M src/ref/rrefjdbc23502.dita At first glance I think this looks like a sensible change. But I've not checked details. I encourage our JDBC spec experts to have a look...
2 months with patch available and no comment. I'd say go ahead and commit, at least to trunk.
Here is a revised patch:
Correspondence with Lance Andersen (JDBC expert) and Rick Hillegas, along with an examination of the source code for Derby's JDBC implementation, has resulted in the following additional changes. rrefjdbc40794.dita (java.sql.Statement): Remove mention of JDBC 1.2. Also, the setEscapeProcessing and cancel methods are still not implemented, but all the others are supported. rrefjdbc23502.dita (java.sql.ResultSet): Remove table row for setFetchSize; the implementation seems to allow for fetch sizes greater than 1. rrefjdbc96386.dita (Mapping of java.sql.Blob and java.sql.Clob interfaces): Remove mention of JDBC 2.0. Explain that Derby implements the Blob and Clob interfaces using locators and does not materialize LOBs when you use getBlob and getClob on ResultSets. Remove bullet list of Blob and Clob features; state only what is specific to the Derby implementation (the CallableStatement limitations). Remove mention of other SQL data types (irrelevant to this topic). Clarify the use of getBlob and getClob. Remove bullet item about static methods. Update the information about CLOB implementation. Revise tables to provide only implementation notes where needed. Also added updated versions of rrefjdbc20485.dita (java.sql.CallableStatement interface), rrefjdbc29874.dita (java.sql.PreparedStatement interface), and rrefjavsqlprst.dita (Prepared statements and streaming columns), all of which contained old (JDBC 1.2) information. Please let me know if further corrections are needed. Checked with Lance Andersen, who recommended that the patch be committed. Any fixes needed can be made later.
Committed |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
"Derby provides all the required JDBC 1.2 type conversions of the getXXX methods."
In rrefjdbc59162.dita, the implementation note on the setMaxFieldSize method can be removed: "Has no effect on Blobs and Clobs." The Javadoc for the method states explicitly what types the method applies to, and it omits BLOBs and CLOBs.