wt.pds.sqlServer
Class SQLServerStatementParameterFactory
java.lang.Object
wt.pds.StatementParameterFactory
wt.pds.sqlServer.SQLServerStatementParameterFactory
- All Implemented Interfaces:
- ApplicationContextChild, Serializable
- public class SQLServerStatementParameterFactory
- extends StatementParameterFactory
- implements Serializable
This class provides the SQLServer implementation for a factory used to
create statement parameter instances.
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
PARAMETER_INDEX
private static final String PARAMETER_INDEX
- See Also:
- Constant Field Values
DATASTORE
static final Datastore DATASTORE
DML_GENERATOR
static final DMLGenerator DML_GENERATOR
SQLServerStatementParameterFactory
public SQLServerStatementParameterFactory()
newStructStatementParameter
public StatementParameter newStructStatementParameter(String a_structTypeName,
Object a_value)
throws WTPropertyVetoException
- This method create a new structure StatementParameter instance using
the specified structure type name and object value.
Supported API: false
- Specified by:
newStructStatementParameter
in class StatementParameterFactory
- Parameters:
a_structTypeName
- a_value
-
- Returns:
- StatementParameter
- Throws:
WTPropertyVetoException
newArrayStatementParameter
public StatementParameter newArrayStatementParameter(String a_arrayTypeName,
Object a_value)
throws WTPropertyVetoException
- This method create a new array StatementParameter instance using the
specified array type name and object value.
Supported API: false
- Specified by:
newArrayStatementParameter
in class StatementParameterFactory
- Parameters:
a_arrayTypeName
- a_value
-
- Returns:
- StatementParameter
- Throws:
WTPropertyVetoException
newArrayStatementParameter
public StatementParameter newArrayStatementParameter(String a_arrayTypeName,
Object a_value,
String a_structTypeName)
throws WTPropertyVetoException
- This method create a new array StatementParameter instance using the
specified array type name and object value. The array consists of
the specified structures.
Supported API: false
- Specified by:
newArrayStatementParameter
in class StatementParameterFactory
- Parameters:
a_arrayTypeName
- a_value
- a_structTypeName
-
- Returns:
- StatementParameter
- Throws:
WTPropertyVetoException
initializeStruct
protected void initializeStruct(WTConnection a_connection,
ClassInfo a_datastoreType)
throws WTException
- This method performs initialization for the specified connection and
Struct.
Supported API: false
- Specified by:
initializeStruct
in class StatementParameterFactory
- Parameters:
a_connection
- Connection to initialize Types for.a_datastoreType
- The ClassInfo representing the Datastore Type.
- Throws:
WTException
initializeArray
protected void initializeArray(WTConnection a_connection,
ClassInfo a_datastoreType)
throws WTException
- This method performs initialization for the specified connection and
Array.
Supported API: false
- Specified by:
initializeArray
in class StatementParameterFactory
- Parameters:
a_connection
- Connection to initialize Types for.a_datastoreType
- The ClassInfo representing the Datastore Type.
- Throws:
WTException
getTypeInfo
static SQLServerStatementParameterFactory.TypeInfo getTypeInfo(ClassInfo a_datastoreType)
throws WTException
- Throws:
WTException
initializeType
private static void initializeType(WTConnection a_connection,
ClassInfo a_datastoreType)
throws WTException
- Throws:
WTException