Missing implementation for JDBC4 method...
Brought to you by:
ickzon
This patch fixes an interoperability issue with Hibernate ORM.
When creating a Blob from an InputStream, Hibernate calls method:
JtdsPreparedStatement.setBinaryStream(int, InputStream, long)
In the JTDS driver, this method is not implemented, but an alternative is:
JtdsPreparedStatement.setBinaryStream(int, InputStream, int)
This patch adds an implementation for setBinaryStream(int, InputStream, long) which calls setBinaryStream(int, InputStream, int).
Anonymous
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
please implement same to the setCharacterStream too...
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
sđá
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
This should include a check for not exceeding Integer.MAX_VALUE first, but +1 for such an easy enhancement, as long as JDBC 4.0 is not fully supported.