Class GlueHsqlSequence

java.lang.Object
com.poscoict.glueframework.dao.sequence.GlueHsqlSequence
All Implemented Interfaces:
GlueSequence

public class GlueHsqlSequence extends Object implements GlueSequence
HSQL DB Sequence를 서비스하는 클래스.
  • Constructor Details

    • GlueHsqlSequence

      public GlueHsqlSequence(DataSource ds)
      생성자(constructor).
      Parameters:
      ds -
  • Method Details

    • getDataSource

      public DataSource getDataSource()
      getter method
      Returns:
      DataSource
    • getNextLongValue

      public long getNextLongValue(String sequenceName)
      Description copied from interface: GlueSequence
      long 타입의 Next Sequence 값을 얻는다.
      Specified by:
      getNextLongValue in interface GlueSequence
      Parameters:
      sequenceName - DB Sequence Name
      Returns:
      long 타입의 Next Sequence 값
    • getNextIntValue

      public int getNextIntValue(String sequenceName)
      Description copied from interface: GlueSequence
      int 타입의 Next Sequence 값을 얻는다.
      Specified by:
      getNextIntValue in interface GlueSequence
      Parameters:
      sequenceName - DB Sequence Name
      Returns:
      int 타입의 Next Sequence 값
    • getNextStringValue

      public String getNextStringValue(String sequenceName)
      Description copied from interface: GlueSequence
      String 타입의 Next Sequence 값을 얻는다.
      Specified by:
      getNextStringValue in interface GlueSequence
      Parameters:
      sequenceName - DB Sequence Name
      Returns:
      String 타입의 Next Sequence 값