@Override public Blob getBlob(int parameterIndex) throws SQLException { return delegate.getBlob(parameterIndex); }
@Override public Blob getBlob(String parameterName) throws SQLException { return delegate.getBlob(parameterName); }
public Blob getBlob(int parameterIndex) throws SQLException { return cstmt.getBlob(parameterIndex); }
public Blob getBlob(String parameterName) throws SQLException { return cstmt.getBlob(parameterName); }
@Override public Blob getBlob(String parameterName) throws SQLException { try { return stmt.getBlob(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override public Blob getBlob(int parameterIndex) throws SQLException { try { return stmt.getBlob(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( name ), options ); } };
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( name ), options ); } };
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( name ), options ); } };
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( index ), options ); }
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( index ), options ); }
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getBlob( index ), options ); }
@Override public Blob callableStatement_getBlob(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBlob(this, statement, parameterName); } return statement.getRawObject().getBlob(parameterName); }
@Override public Blob callableStatement_getBlob(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getBlob(this, statement, parameterIndex); } return statement.getRawObject().getBlob(parameterIndex); }
case ValueMetaInterface.TYPE_BINARY: if ( databaseMeta.supportsGetBlob() ) { Blob blob = cstmt.getBlob( pos ); if ( blob != null ) { v = blob.getBytes( 1L, (int) blob.length() ); case ValueMetaInterface.TYPE_BINARY: if ( databaseMeta.supportsGetBlob() ) { Blob blob = cstmt.getBlob( pos + i ); if ( blob != null ) { v = blob.getBytes( 1L, (int) blob.length() );
@Override public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { Blob blob = cs.getBlob(columnIndex); byte[] returnValue = null; if (null != blob) { returnValue = blob.getBytes(1, (int) blob.length()); } return returnValue; } }
/** * Get an {@link InputStream} that corresponds to a specified column index from {@link CallableStatement}. * @see CallableStatement#getBlob(int) */ @Override public InputStream getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return toInputStream(cs.getBlob(columnIndex)); }
@Override public Byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { Blob blob = cs.getBlob(columnIndex); return getBytes(blob); }
@Override public Byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { Blob blob = cs.getBlob(columnIndex); return getBytes(blob); }
@Override public Blob getBlob(int parameterIndex) throws SQLException { try { return stmt.getBlob(parameterIndex); } catch (Throwable t) { throw checkException(t); } }