Class GlueSequenceFactory

java.lang.Object
com.poscoict.glueframework.dao.sequence.GlueSequenceFactory

public class GlueSequenceFactory extends Object
DB 제품별 Sequence Increamenter (GlueSequence)를 생성하는 팩토리.
내부적으로 DatabaseMetaData의 getDatabaseProductName() 으로 제품별 GlueSequence 오브젝트를 생성한다. 지원되는 DB 제품은 Oracle, IBM DB2, PostgreSQL, Altibase, Tibero 총 5종류이다.
Application should not use this class.
Internal Use ONLY !!
  • Constructor Details

    • GlueSequenceFactory

      public GlueSequenceFactory()
  • Method Details

    • createSequence

      public static GlueSequence createSequence(DataSource datasource, String databaseProductName)
      Sequence Incrementer(GlueSequence)를 생성한다.
      Parameters:
      datasource - Data Source
      databaseProductName - Database Name
      Returns:
      DB 제품별 GlueSequence 오브젝트