Class UstraPostgreProcedureManager
java.lang.Object
com.gsitm.ustra.java.data.utils.procedure.UstraProcedureManager
com.gsitm.ustra.java.data.utils.procedure.UstraPostgreProcedureManager
Postgre ProcedureManager
-
Field Summary
Fields inherited from class com.gsitm.ustra.java.data.utils.procedure.UstraProcedureManager
jdbcTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.jdbc.core.simple.SimpleJdbcCallcreateSimpleJdbcCall(ProcedureCallOption<?> option) SimpleJdbcCall 객체 생성getResultSetKeys(List<org.springframework.jdbc.core.SqlParameter> params) CURSOR 유형의 파라메터를 추출List<org.springframework.jdbc.core.SqlParameter>getSqlParameters(String procedureName, String schemaName, String databaseName, String dataSourceName) 프로시저의 파라메터 목록 생성protected intgetSqlType(String dataType) SQL 유형 조회mapParameter(Map<String, Object> parameterMap, List<org.springframework.jdbc.core.SqlParameter> sqlParameters, ProcedureCallOption<?> option) 호출 전 파라메터를 필터링 한다.Methods inherited from class com.gsitm.ustra.java.data.utils.procedure.UstraProcedureManager
applyOptionFunctionJdbcCall, applyOptionProcedureJdbcCall, call, hasParameterKey, normalizeOption, normalizeParameter, normalizeReturnValue
-
Constructor Details
-
UstraPostgreProcedureManager
-
-
Method Details
-
getSqlParameters
public List<org.springframework.jdbc.core.SqlParameter> getSqlParameters(String procedureName, String schemaName, String databaseName, String dataSourceName) Description copied from class:UstraProcedureManager프로시저의 파라메터 목록 생성- Specified by:
getSqlParametersin classUstraProcedureManager- Parameters:
procedureName- 프로시져 명schemaName- 스키마 명databaseName- 데이터베이스 명dataSourceName- 데이터소스 명- Returns:
- 파라메터 목록
-
getSqlType
SQL 유형 조회- Parameters:
dataType-- Returns:
-
mapParameter
protected Map<String,Object> mapParameter(Map<String, Object> parameterMap, List<org.springframework.jdbc.core.SqlParameter> sqlParameters, ProcedureCallOption<?> option) Description copied from class:UstraProcedureManager호출 전 파라메터를 필터링 한다.- Overrides:
mapParameterin classUstraProcedureManager- Parameters:
parameterMap- 파라메터sqlParameters- SQL 파라메터 목록option- 옵션- Returns:
- 호출 파라메터 목록
-
createSimpleJdbcCall
protected org.springframework.jdbc.core.simple.SimpleJdbcCall createSimpleJdbcCall(ProcedureCallOption<?> option) Description copied from class:UstraProcedureManagerSimpleJdbcCall 객체 생성- Overrides:
createSimpleJdbcCallin classUstraProcedureManager- Returns:
- SimpleJdbcCall 객체
-
getResultSetKeys
Description copied from class:UstraProcedureManagerCURSOR 유형의 파라메터를 추출- Specified by:
getResultSetKeysin classUstraProcedureManager- Returns:
-