com.poscoict.glueframework.dao.sequence
Class GlueDB2Sequence

java.lang.Object
  extended by com.poscoict.glueframework.dao.sequence.GlueDB2Sequence
All Implemented Interfaces:
GlueSequence

public class GlueDB2Sequence
extends Object
implements GlueSequence

IBM DB 2 Sequence¸¦ ¼­ºñ½ºÇϴ Ŭ·¡½º.


Constructor Summary
GlueDB2Sequence(DataSource ds)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 DataSource getDataSource()
          getter method
 int getNextIntValue(String sequenceName)
          int ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù.
 long getNextLongValue(String sequenceName)
          long ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù.
 String getNextStringValue(String sequenceName)
          String ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueDB2Sequence

public GlueDB2Sequence(DataSource ds)
»ý¼ºÀÚ(constructor).

Parameters:
ds -
Method Detail

getDataSource

public DataSource getDataSource()
getter method

Returns:

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 °ª


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.