Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBCachedClob throws SQLException instead of SQLFeatureNotSupportedException [JDBC414] #455

Closed
firebird-automations opened this issue Nov 29, 2015 · 6 comments

Comments

@firebird-automations
Copy link

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

@firebird-automations
Copy link
Author

Modified by: Arthur Kalimullin (kaliy)

priority: Major [ 3 ] => Minor [ 4 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Version: Jaybird 2.2.9 [ 10691 ]

Fix Version: Jaybird 2.2.10 [ 10723 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Fixed for 2.2.10 and 3.0

Master: 981cd9f
Branch_2_2: b0148d9

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Component: JDBC driver [ 10053 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment