Blob to at the
JDBC level.
This is useful for workarounds for bugs in Oracle, like ORA-01461: can bind a LONG value only for insert into a LONG column (see [#4091])
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Converter | converter()
Implements org. |
| public final void | get(BindingGetResultSetContext<byte[]>
The context object containing all argument objects. ctx)Implements org. ResultSet's OUT value.
|
| public final void | get(BindingGetStatementContext<byte[]>
The context object containing all argument objects. ctx)Implements org. CallableStatement's OUT value.
|
| public final void | get(BindingGetSQLInputContext<byte[]>
The context object containing all argument objects. ctx)Implements org. SQLInput's OUT value.
|
| pack-priv static final Blob | |
| public final void | register(BindingRegisterContext<byte[]>
The context object containing all argument objects. ctx)Implements org. CallableStatement's OUT parameter.
|
| public final void | set(BindingSetStatementContext<byte[]>
The context object containing all argument objects. ctx)Implements org. PreparedStatement's IN parameter.
|
| public final void | set(BindingSetSQLOutputContext<byte[]>
The context object containing all argument objects. ctx)Implements org. SQLOutput's IN parameter.
|
| public final void | sql(BindingSQLContext<byte[]>
The context object containing all argument objects. ctx)Implements org. |
| BlobBinding | back to summary |
|---|---|
| public BlobBinding() | |
| converter | back to summary |
|---|---|
| public final Converter Implements org. Doc from org. A converter that can convert between the database type and the custom type.
| |
| get | back to summary |
|---|---|
| public final void get(BindingGetResultSetContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Get a
Implementations are expected to produce a value by calling
| |
| get | back to summary |
|---|---|
| public final void get(BindingGetStatementContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Get a
Implementations are expected to produce a value by calling
| |
| get | back to summary |
|---|---|
| public final void get(BindingGetSQLInputContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Get a
Implementations are expected to produce a value by calling
| |
| newBlob | back to summary |
|---|---|
| pack-priv static final Blob newBlob(ResourceManagingScope scope, byte[] bytes, Connection connection) throws SQLException | |
| register | back to summary |
|---|---|
| public final void register(BindingRegisterContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Register a
| |
| set | back to summary |
|---|---|
| public final void set(BindingSetStatementContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Set a
| |
| set | back to summary |
|---|---|
| public final void set(BindingSetSQLOutputContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Set a
| |
| sql | back to summary |
|---|---|
| public final void sql(BindingSQLContext<byte[]> ctx) throws SQLException Implements org. Doc from org. Generate SQL code for the bind variable.
Implementations should generate SQL code onto
Implementations must provide consistent behaviour between
| |