public abstract class AbstractDbType extends Object implements DbType
DbType
Constructor and Description |
---|
AbstractDbType(int id,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
getName() |
void |
registerOutParameter(CallableStatement statement,
int index)
Registers an output parameter
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameterValue, setParameterValue
protected final int id
protected final String name
public AbstractDbType(int id, String name)
public void registerOutParameter(CallableStatement statement, int index) throws SQLException
DbType
registerOutParameter
in interface DbType
statement
- statement that contains the parameterindex
- index of the parameter in the statement (first parameter is 1, the second is 2, etc)SQLException
- if the parameterIndex is not valid; if a database access error occurs or this method
is called on a closed CallableStatementCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.