org.mule.module.db.internal.domain.type
Class UnknownDbType
java.lang.Object
org.mule.module.db.internal.domain.type.AbstractDbType
org.mule.module.db.internal.domain.type.UnknownDbType
- All Implemented Interfaces:
- DbType
public class UnknownDbType
- extends AbstractDbType
Represents a data type for a template, which real type is unknown until it is instantiated
UNKNOWN_TYPE_NAME
public static final String UNKNOWN_TYPE_NAME
- See Also:
- Constant Field Values
setParameterValue
public void setParameterValue(PreparedStatement statement,
int index,
Object value)
throws SQLException
- Description copied from interface:
DbType
- Sets the value of an input parameter
- Parameters:
statement - statement that contains the parameterindex - index of the parameter in the statement (first parameter is 1, the second is 2, etc)value - value to assign
- Throws:
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 PreparedStatement or the type of
the given object is ambiguous
getParameterValue
public Object getParameterValue(CallableStatement statement,
int index)
throws SQLException
- Description copied from interface:
DbType
- Gets the value of an output parameter
- Parameters:
statement - statement that contains the parameterindex - index of the parameter in the statement (first parameter is 1, the second is 2, etc)
- Throws:
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 statement
getInstance
public static DbType getInstance()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.