public abstract class AbstractStructuredDbType extends ResolvedDbType
id, name| Constructor and Description |
|---|
AbstractStructuredDbType(int id,
String name)
Creates a new DB type
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerOutParameter(CallableStatement statement,
int index)
Registers an output parameter
|
getParameterValue, setParameterValueequals, getId, getName, toStringpublic AbstractStructuredDbType(int id,
String name)
id - type identifier from {#link java.sql.Types} or any custom value.name - name of the structured type. Non empty.public void registerOutParameter(CallableStatement statement, int index) throws SQLException
DbTyperegisterOutParameter in interface DbTyperegisterOutParameter in class AbstractDbTypestatement - 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–2022 MuleSoft, Inc.. All rights reserved.