Class ProcedureManager

java.lang.Object
com.gsitm.ustra.java.data.utils.ProcedureManager

public class ProcedureManager extends Object
Deprecated.
2.1.0.RELEASE 제외 예정
프로시져 호출 관리자 (Spring Bean) 2021/10/10 : refactoring codes by keymasroy
  • Constructor Details

  • 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

      protected String getResultSetKey(List<org.springframework.jdbc.core.SqlParameter> params)
      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

      public Map<String,Object> callSp(String schema, String id, Map<String,Object> in)
      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 map
      dataSourceName - 데이터 소스명
      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 map
      dataSourceName - datasource명
      Returns:
    • callFunc

      public <T> T callFunc(String schema, String id, Map<String,Object> in, Class<T> clazz)
      Deprecated.
      Function을 호출한다.
      Type Parameters:
      T - 변환 클래스 명
      Parameters:
      schema - 스키마
      id - 아이디
      in - input parameter
      clazz - 변환 클래스 값
      Returns: