public class JDBCStatementProcessor<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NOORM_ID_LIST_ORACLE_TYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
callPLSQL(String pPLSQLCallable,
Map<String,Object> pInParameters)
Call a PL/SQL procedure without OUT parameter.
|
T |
callPLSQL(String pPLSQLCallable,
String pOutParamName,
Map<String,Object> pInParameters,
Class<T> pOutClass)
Call a PL/SQL procedure with a scalar OUT parameter or without OUT parameter.
|
void |
debugPLSQLCall(String pPLSQLCallable,
Map<String,Object> pInParameters,
Class<T> pBeanClass) |
List<Map<String,Object>> |
executeGenericSelect(String pSelectStatement)
Convenience method to a provide some minimal SQL functionality for the application.
|
T |
getBeanFromPLSQL(String pPLSQLCallable,
String pRefCursorName,
Map<String,Object> pInParameters,
Class<T> pBeanClass)
Calls a PL/SQL procedure with a ref cursor as OUT parameter.
|
List<T> |
getBeanListFromPLSQL(String pPLSQLCallable,
String pRefCursorName,
Class<T> pBeanClass)
Calls a PL/SQL procedure with a ref cursor as OUT parameter.
|
List<T> |
getBeanListFromPLSQL(String pPLSQLCallable,
String pRefCursorName,
Map<String,Object> pInParameters,
Class<T> pBeanClass) |
List<T> |
getBeanListFromSQL(String pTableName,
Map<QueryColumn,Object> pInParameters,
Class<T> pBeanClass,
boolean pAcquireLock)
Executes a generic SQL statement for the given table (or view) name with the given query parameters.
|
static <T> JDBCStatementProcessor<T> |
getInstance() |
public static final String NOORM_ID_LIST_ORACLE_TYPE_NAME
public static <T> JDBCStatementProcessor<T> getInstance()
public void callPLSQL(String pPLSQLCallable, Map<String,Object> pInParameters)
pPLSQLCallable - the name of PL/SQL procedure or the notation PACKAGENAME.PROCEDURE.pInParameters - the map containing all IN parameters.public T callPLSQL(String pPLSQLCallable, String pOutParamName, Map<String,Object> pInParameters, Class<T> pOutClass)
pPLSQLCallable - the name of PL/SQL procedure or the notation PACKAGENAME.PROCEDURE.pOutParamName - the name of the scalar OUT parameter.pInParameters - the map containing all IN parameters.pOutClass - the type of the scalar OUT parameter.public T getBeanFromPLSQL(String pPLSQLCallable, String pRefCursorName, Map<String,Object> pInParameters, Class<T> pBeanClass)
pPLSQLCallable - the name of PL/SQL procedure or the notation PACKAGENAME.PROCEDURE.pRefCursorName - the parameter name of the procedure out parameter ref cursor.pInParameters - the map containing all IN parameters.pBeanClass - the type of the Bean matching the fields of the ResultSet.public List<T> getBeanListFromPLSQL(String pPLSQLCallable, String pRefCursorName, Class<T> pBeanClass)
pPLSQLCallable - the name of PL/SQL procedure or the notation PACKAGENAME.PROCEDURE.pRefCursorName - the parameter name of the procedure out parameter ref cursor.pBeanClass - the type of the Bean matching the fields of the ResultSet.public List<T> getBeanListFromSQL(String pTableName, Map<QueryColumn,Object> pInParameters, Class<T> pBeanClass, boolean pAcquireLock)
pTableName - the table or view name used for the SQL querypInParameters - the parameters for the where-clause of the SQL querypBeanClass - the return typepublic List<T> getBeanListFromPLSQL(String pPLSQLCallable, String pRefCursorName, Map<String,Object> pInParameters, Class<T> pBeanClass)
public List<Map<String,Object>> executeGenericSelect(String pSelectStatement)
pSelectStatement - The SELECT statement for generic execution.Copyright © 2013. All rights reserved.