clickhouse-java
clickhouse-java copied to clipboard
[JDBC] PreparedStatementImpl
Description
There are some issues:
executeQuery()- Doesn't check if all parameters are setexecuteUpdate()- Doesn't check if all parameters are setsetBytes(int parameterIndex, byte x[])- Test ignored, implementation will incorrectly encode into stringsetObject(int parameterIndex, Object x, int targetSqlType)- target type is ignoredsetObject(int parameterIndex, Object x, SQLType targetSqlType)- target type is ignoredsetNString(int parameterIndex, String value)- no testssetNCharacterStream(int parameterIndex, Reader value, long length)- length seems ignoredsetObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)- scaleOrLength ignoredsetObject(int parameterIndex, Object x, SQLType targetSqlType)- type ignored