|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SpecialDBOperation
SpecialDBOperation interface is defined for database specific operations.
| Method Summary | |
|---|---|
void |
bindFixedCharColumn(java.sql.PreparedStatement ps,
int index,
java.lang.String strVal,
int length)
Binds specified value to parameter at specified index that is bound to CHAR column. |
void |
defineColumnTypeForResult(java.sql.PreparedStatement ps,
java.util.List columns)
Defines column type for result. |
void |
initialize(java.sql.DatabaseMetaData metaData,
java.lang.String identifier)
This method is called immediately after an instance implementing this interface is created. |
| Method Detail |
|---|
void initialize(java.sql.DatabaseMetaData metaData,
java.lang.String identifier)
throws java.sql.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.
java.sql.SQLException
void defineColumnTypeForResult(java.sql.PreparedStatement ps,
java.util.List columns)
throws java.sql.SQLException
ps - java.sql.PreparedStatementcolumns - List of ColumnElement corresponding to select clause
java.sql.SQLException
void bindFixedCharColumn(java.sql.PreparedStatement ps,
int index,
java.lang.String strVal,
int length)
throws java.sql.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.
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||