Package com.gsitm.ustra.java.data.utils
Class ProcedureManager
java.lang.Object
com.gsitm.ustra.java.data.utils.ProcedureManager
Deprecated.
2.1.0.RELEASE 제외 예정
프로시져 호출 관리자 (Spring Bean)
2021/10/10 : refactoring codes by keymasroy
-
Constructor Summary
ConstructorsConstructorDescriptionProcedureManager(DataSource dataSource, MultiDataSourceProperties dataSourceProperties) Deprecated. -
Method Summary
Modifier and TypeMethodDescription<T> TDeprecated.Function을 호출한다.Deprecated.프로시져 호출Deprecated.프로시져 호출callSp(String schema, String id, Map<String, Object> in, String dataSourceName, boolean useCaseInsensitive) Deprecated.프로시져 호출callSpForApi(String schema, String id, List<org.springframework.jdbc.core.SqlParameter> params, Map<String, Object> in) Deprecated.protected List<org.springframework.jdbc.core.SqlParameter>getParameterInfo(String procedureName, String schemaName, String databaseName) Deprecated.프로시저의 파라메터 목록 생성protected StringgetResultSetKey(List<org.springframework.jdbc.core.SqlParameter> params) Deprecated.테이블 반환 유형의 파라메터를 추출protected List<org.springframework.jdbc.core.SqlParameter>getSpParams(String schema, String id, Set<String> keys) Deprecated.제거예정protected List<org.springframework.jdbc.core.SqlParameter>getSpParams(String schema, String id, Set<String> keys, boolean skipParameterCheck) Deprecated.제거예정
-
Constructor Details
-
ProcedureManager
Deprecated.
-
-
Method Details
-
getParameterInfo
protected List<org.springframework.jdbc.core.SqlParameter> getParameterInfo(String procedureName, String schemaName, String databaseName) Deprecated.프로시저의 파라메터 목록 생성- Parameters:
procedureName- 프로시져 명schemaName- 스키마 명databaseName- 데이터베이스 명- Returns:
- 파라메터 목록
-
getSpParams
protected List<org.springframework.jdbc.core.SqlParameter> getSpParams(String schema, String id, Set<String> keys) Deprecated.제거예정프로시져 파라메터 조회- Parameters:
schema- 스키마 명id- 프로시져 명keys- 파라메터 키 목록- Returns:
-
getSpParams
protected List<org.springframework.jdbc.core.SqlParameter> getSpParams(String schema, String id, Set<String> keys, boolean skipParameterCheck) Deprecated.제거예정프로시져 파라메터 조회- Parameters:
schema- 스키마 명id- 프로시져 명keys- 파라메터 키 목록skipParameterCheck- 파라메터 검증 제외 여부- Returns:
-
getResultSetKey
Deprecated.테이블 반환 유형의 파라메터를 추출- Parameters:
params-- Returns:
-
callSpForApi
public Map<String,Object> callSpForApi(String schema, String id, List<org.springframework.jdbc.core.SqlParameter> params, Map<String, Object> in) Deprecated. -
callSp
Deprecated.프로시져 호출- Parameters:
schema- 스키마 명id- 프로시져 명in- input parameter map- Returns:
- 호출 결과 Map
-
callSp
public Map<String,Object> callSp(String schema, String id, Map<String, Object> in, String dataSourceName) Deprecated.프로시져 호출- Parameters:
schema- 스키마 명id- 프로시저 명in- inpout parameter mapdataSourceName- 데이터 소스명- Returns:
- 호출 결과 Map
-
callSp
public Map<String,Object> callSp(String schema, String id, Map<String, Object> in, String dataSourceName, boolean useCaseInsensitive) Deprecated.프로시져 호출- Parameters:
schema- 스키마 명id- 프로시져 명in- input parameter mapdataSourceName- datasource명- Returns:
-
callFunc
Deprecated.Function을 호출한다.- Type Parameters:
T- 변환 클래스 명- Parameters:
schema- 스키마id- 아이디in- input parameterclazz- 변환 클래스 값- Returns:
-