Currently FBCachedClob throws FBSQLException (which is SQLException) on methods it doesn't support. It confuses hibernate which expects SQLFeatureNotSupportedException to be thrown (see org.hibernate.type.descriptor.java.DataHelper#determineLengthForBufferSizing and few other places).
FBBlob, FBClob and FBCachedBlob classes throw FBDriverNotCapableException as expected so I guess FBCachedClob should also do the same.
Submitted by: Arthur Kalimullin (kaliy)
Currently FBCachedClob throws FBSQLException (which is SQLException) on methods it doesn't support. It confuses hibernate which expects SQLFeatureNotSupportedException to be thrown (see org.hibernate.type.descriptor.java.DataHelper#determineLengthForBufferSizing and few other places).
FBBlob, FBClob and FBCachedBlob classes throw FBDriverNotCapableException as expected so I guess FBCachedClob should also do the same.
Commits: b0148d9 981cd9f
The text was updated successfully, but these errors were encountered: