public class ArrayResolvedDbType extends AbstractStructuredDbType
Arrayid, name| Constructor and Description |
|---|
ArrayResolvedDbType(int id,
String name)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static String |
createUnsupportedTypeErrorMessage(Object value)
Creates error message for the case when a given class is not supported
|
Object |
getParameterValue(CallableStatement statement,
int index)
Gets the value of an output parameter
|
void |
setParameterValue(PreparedStatement statement,
int index,
Object value,
DbConnection dbConnection)
Sets the value of an input parameter
|
registerOutParametergetId, getName, toStringpublic ArrayResolvedDbType(int id,
String name)
id - identifier for the typename - type name. Non Empty.public void setParameterValue(PreparedStatement statement, int index, Object value, DbConnection dbConnection) throws SQLException
DbTypesetParameterValue in interface DbTypesetParameterValue in class ResolvedDbTypestatement - statement that contains the parameterindex - index of the parameter in the statement (first parameter is 1, the second is 2, etc)value - value to assigndbConnection - connection to create the parameter valueSQLException - 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 PreparedStatement or the type of the given object is
ambiguouspublic Object 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 © 2025. All rights reserved.