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, setParameterValue
equals, getId, getName, toString
public 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
DbType
registerOutParameter
in interface DbType
registerOutParameter
in class AbstractDbType
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–2018 MuleSoft, Inc.. All rights reserved.