FirebirdSQL / jaybird

JDBC driver for Firebird
https://firebirdsql.org/en/jdbc-driver/
GNU Lesser General Public License v2.1
93 stars 23 forks source link

Modify the set/updateObject methods with int scaleOrLength to apply the length if a Reader or InputStream #822

Closed mrotteveel closed 2 months ago

mrotteveel commented 2 months ago

Currently we ignore the int scaleOrLength of PreparedStatement.setObject and ResultSet.updateObject methods. In the case of a Reader or InputStream, we should redirect to the appropriate set/updateCharacterStream or set/updateBinaryStream method.