Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.6.1.0
-
Normal
Description
Depending on what SQLClob wraps (a string, a stream, a java.sql.Clob), SQLClob.getObject() sometimes returns a string and other times returns a java.sql.Clob. In at least one spot, the compiler expects that SQLClob.getObject() will always return a java.sql.Clob. See the final cast compiled by SQLToJavaValueNode.generateJavaValue(). I believe that the compiler is correct and SQLClob.getObject() should behave predictably.
Attachments
Attachments
Issue Links
- blocks
-
DERBY-4066 Allow functions/procedures to take Blob/Clob arguments
- Closed
- relates to
-
DERBY-4544 Referencing streaming CLOBs in (some) generated column clauses fails
- Closed