Description
If you call getBlob() on a string parameter in a CallableStatement, you'll get a ClassCastException. We should get a proper SQLException.
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.sql.Blob
at org.apache.derby.impl.jdbc.EmbedCallableStatement.getBlob(EmbedCallableStatement.java:580)
at Test.main(Test.java:13)
Attachments
Attachments
Issue Links
- relates to
-
DERBY-4869 Implement JDBC 4.1, the api increment introduced by Java 7
- Closed