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
Arthur Kalimullin made changes - 29/Nov/15 10:51 AM
Field Original Value New Value
Priority Major [ 3 ] Minor [ 4 ]
Mark Rotteveel made changes - 29/Nov/15 12:54 PM
Fix Version/s Jaybird 2.2.10 [ 10723 ]
Fix Version/s Jaybird 3.0 [ 10440 ]
Affects Version/s Jaybird 2.2.9 [ 10691 ]

Mark Rotteveel made changes - 29/Nov/15 01:08 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Mark Rotteveel made changes - 23/Jan/16 04:35 PM
Component/s JDBC driver [ 10053 ]
Mark Rotteveel made changes - 13/Mar/16 04:03 PM
Status Resolved [ 5 ] Closed [ 6 ]