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
|
registerOutParametersetParameterValuegetId, getName, toStringpublic T getParameterValue(CallableStatement statement, int index) throws SQLException
DbTypegetParameterValue in interface DbTypegetParameterValue in class ResolvedDbTypestatement - 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 © 2021. All rights reserved.