com.poscoict.glueframework.dao.sequence
Class GluePostgreSQLSequence

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

public class GluePostgreSQLSequence
extends Object
implements GlueSequence

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


Constructor Summary
GluePostgreSQLSequence(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

GluePostgreSQLSequence

public GluePostgreSQLSequence(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–2017 POSCO ICT. All rights reserved.