Issue Details (XML | Word | Printable)

Key: JDBC-414
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Mark Rotteveel
Reporter: Arthur Kalimullin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

FBCachedClob throws SQLException instead of SQLFeatureNotSupportedException

Created: 29/Nov/15 10:51 AM   Updated: 13/Mar/16 04:03 PM
Component/s: JDBC driver
Affects Version/s: Jaybird 2.2.9
Fix Version/s: Jaybird 2.2.10, Jaybird 3.0.0


 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order