Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.10.1.1
-
Repro attached
-
Deviation from standard
Description
Cf the attached negative test in a patch to PreparedStatement42.
In JDBC 4.2, the Javadoc for registerOutParameter(int parameterIndex,
int sqlType, String typeName) reads:
:
@exception SQLFeatureNotSupportedException if sqlType is a ARRAY,
BLOB, CLOB, DATALINK, JAVA_OBJECT, NCHAR, NCLOB, NVARCHAR,
LONGNVARCHAR, REF, ROWID, SQLXML or STRUCT data type and the JDBC
driver does not support this data type
:
For the new overloads, for embedded this is checked inside Util42#getTypeAsInt. The similar
client method, Utils42#getTypeAsInt does not do this checking.
Attachments
Attachments
Issue Links
- relates to
-
DERBY-6000 Implement support for JDBC 4.2
- Closed