public class MappedStructResolvedDbType<T> extends AbstractStructuredDbType
Struct
mapped to a Java class.id, name
Constructor and Description |
---|
MappedStructResolvedDbType(int id,
String name,
Class<T> mappedClass)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Class<T> |
getMappedClass() |
T |
getParameterValue(CallableStatement statement,
int index)
Gets the value of an output parameter
|
registerOutParameter
setParameterValue
equals, getId, getName, toString
public T getParameterValue(CallableStatement statement, int index) throws SQLException
DbType
getParameterValue
in interface DbType
getParameterValue
in class ResolvedDbType
statement
- statement that contains the parameterindex
- index of the parameter in the statement (first parameter is 1, the second is 2, etc)SQLException
- if parameterIndex does not correspond to a parameter marker in the SQL statement;
if a database access error occurs; this method is called on a closed statementCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.