@Override public byte[] getBytes(String parameterName) throws SQLException { return delegate.getBytes(parameterName); }
@Override public byte[] getBytes(int parameterIndex) throws SQLException { return delegate.getBytes(parameterIndex); }
public byte[] getBytes(int parameterIndex) throws SQLException { return cstmt.getBytes(parameterIndex); }
public byte[] getBytes(String parameterName) throws SQLException { return cstmt.getBytes(parameterName); }
@Override public byte[] getBytes(int parameterIndex) throws SQLException { try { return stmt.getBytes(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public byte[] getBytes(String parameterName) throws SQLException { try { return stmt.getBytes(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBytes( name ), options ); } };
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBytes( index ), options ); }
@Override public byte[] callableStatement_getBytes(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBytes(this, statement, parameterIndex); } return statement.getRawObject().getBytes(parameterIndex); }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return getJavaDescriptor().wrap( toGeometry( statement.getBytes( name ) ), options ); } };
@Override public byte[] callableStatement_getBytes(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBytes(this, statement, parameterName); } return statement.getRawObject().getBytes(parameterName); }
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return getJavaDescriptor().wrap( toGeometry( statement.getBytes( index ) ), options ); }
case Types.BLOB: case Types.VARBINARY: return stmt.getBytes(position); case Types.SMALLINT: return stmt.getShort(position);
@Override public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return cs.getBytes(columnIndex); } }
@Override public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return cs.getBytes(columnIndex); } }
@Override public Byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { byte[] bytes = cs.getBytes(columnIndex); return getBytes(bytes); }
@Override public Byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { byte[] bytes = cs.getBytes(columnIndex); return getBytes(bytes); }
@Override public byte[] getBytes(String parameterName) throws SQLException { try { return stmt.getBytes(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override public byte[] callableStatement_getBytes(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBytes(this, statement, parameterIndex); } return statement.getRawObject().getBytes(parameterIndex); }