-
Notifications
You must be signed in to change notification settings - Fork 13k
Description
MyBatis version
3.4.x
I have checked that MyBatis version 3.3.x works without any problem.
Database vendor and version
Firebird 2.5.7 with Jaybird 2.2.12 JDBC driver.
Other Firebird/Jaybird combinations have been tested, all of them with the same result.
Steps to reproduce
Any select on a firebird table including a clob (blob sub_type text) field, will throw an ResultMapException, due to unsupported java.sql.Clob.length method.
Expected result
As java.sql.Clob.length is not a required JDBC method, mybatis should fallback to other (required) methods when length() is not supported by the JDBC driver. See http://tracker.firebirdsql.org/browse/JDBC-270
Actual result
org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'DIRECCION' from result set. Cause: org.firebirdsql.jdbc.FBDriverNotCapableException: Not yet implemented.