|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.StatementParameterFactory
wt.pds.oracle81.OracleStatementParameterFactory
This class provides the Oracle implementation for a factory used to create
statement parameter instances.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static HashMap |
connectionCache
|
static boolean |
DEBUG
|
private static DebugWriter |
LOG
|
private static String |
RESOURCE
|
Fields inherited from class wt.pds.StatementParameterFactory |
|
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
Constructor Summary | |
OracleStatementParameterFactory()
|
Method Summary | |
static void |
clearCache(WTConnection a_connection)
|
static oracle.sql.ArrayDescriptor |
getArrayType(String a_typeName,
WTConnection a_connection)
|
static oracle.sql.StructDescriptor |
getStructType(String a_typeName,
WTConnection a_connection)
|
protected void |
initializeArray(WTConnection a_connection,
ClassInfo a_datastoreType)
This method performs initialization for the specified connection and Array. |
protected void |
initializeStruct(WTConnection a_connection,
ClassInfo a_datastoreType)
This method performs initialization for the specified connection and Struct. |
void |
initializeTypes(WTConnection a_connection)
This method performs Type initialization for the specified connection. |
StatementParameter |
newArrayStatementParameter(String a_arrayTypeName,
Object a_value)
This method create a new array StatementParameter instance using the specified array type name and object value. |
StatementParameter |
newArrayStatementParameter(String a_arrayTypeName,
Object a_value,
String a_structTypeName)
This method create a new array StatementParameter instance using the specified array type name and object value. |
StatementParameter |
newStructStatementParameter(String a_structTypeName,
Object a_value)
This method create a new structure StatementParameter instance using the specified structure type name and object value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final boolean DEBUG
private static final DebugWriter LOG
private static final HashMap connectionCache
Constructor Detail |
public OracleStatementParameterFactory()
Method Detail |
public void initializeTypes(WTConnection a_connection) throws WTException
initializeTypes
in class StatementParameterFactory
a_connection
- Connection to initialize Types for.
WTException
public StatementParameter newStructStatementParameter(String a_structTypeName, Object a_value) throws WTPropertyVetoException
newStructStatementParameter
in class StatementParameterFactory
a_structTypeName
- a_value
-
WTPropertyVetoException
public StatementParameter newArrayStatementParameter(String a_arrayTypeName, Object a_value) throws WTPropertyVetoException
newArrayStatementParameter
in class StatementParameterFactory
a_arrayTypeName
- a_value
-
WTPropertyVetoException
public StatementParameter newArrayStatementParameter(String a_arrayTypeName, Object a_value, String a_structTypeName) throws WTPropertyVetoException
newArrayStatementParameter
in class StatementParameterFactory
a_arrayTypeName
- a_value
- a_structTypeName
-
WTPropertyVetoException
protected void initializeStruct(WTConnection a_connection, ClassInfo a_datastoreType) throws WTException
initializeStruct
in class StatementParameterFactory
a_connection
- Connection to initialize Types for.a_datastoreType
- The ClassInfo representing the Datastore Type.
WTException
protected void initializeArray(WTConnection a_connection, ClassInfo a_datastoreType) throws WTException
initializeArray
in class StatementParameterFactory
a_connection
- Connection to initialize Types for.a_datastoreType
- The ClassInfo representing the Datastore Type.
WTException
public static void clearCache(WTConnection a_connection)
public static oracle.sql.ArrayDescriptor getArrayType(String a_typeName, WTConnection a_connection) throws SQLException
SQLException
public static oracle.sql.StructDescriptor getStructType(String a_typeName, WTConnection a_connection) throws SQLException
SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |