public interface SpecialDBOperation
| Modifier and Type | Method and Description |
|---|---|
void |
bindFixedCharColumn(PreparedStatement ps,
int index,
String strVal,
int length)
Binds specified value to parameter at specified index that is bound to
CHAR column.
|
void |
defineColumnTypeForResult(PreparedStatement ps,
List columns)
Defines column type for result.
|
void |
initialize(DatabaseMetaData metaData,
String identifier)
This method is called immediately after an instance implementing this
interface is created.
|
void initialize(DatabaseMetaData metaData, String identifier) throws SQLException
metaData - DatbaseMetaData of the database for which an instance
implementing this interface is ingratiated.identifier - Identifier of object used to obtain databaseMetaData.
This can be null in non managed environment.SQLExceptionvoid defineColumnTypeForResult(PreparedStatement ps, List columns) throws SQLException
ps - java.sql.PreparedStatementcolumns - List of ColumnElement corresponding to select clauseSQLExceptionvoid bindFixedCharColumn(PreparedStatement ps, int index, String strVal, int length) throws SQLException
ps - java.sql.PreparedStatementindex - Index of paramater marker in ps.strVal - value that needs to bound.length - length of the column to which strVal is bound.SQLExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.