|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlueSequence
DB Sequence °ªÀ» ¼ºñ½ºÇÏ´Â ÀÎÅÍÆäÀ̽º. Activity Class¿¡¼ ´ÙÀ½°ú °°ÀÌ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
GlueSequence sequence = getDao().getSequence(); String nextval = sequence.getNextStringValue("sq_emp_audit"); // DB Sequence Name List args = new ArrayList(); args.add(nextval); args.add(nextval); GlueParameter param = new GlueParameter
(args); int dml = getDao().insertByQueryStatement("insert into emp_audit(empno, seq) values (?, ?)", param); logger.logInfo("DML Size: " + dml);
Method Summary | |
---|---|
int |
getNextIntValue(String sequenceName)
int ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù. |
long |
getNextLongValue(String sequenceName)
long ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù. |
String |
getNextStringValue(String sequenceName)
String ŸÀÔÀÇ Next Sequence °ªÀ» ¾ò´Â´Ù. |
Method Detail |
---|
long getNextLongValue(String sequenceName)
sequenceName
- DB Sequence Name
int getNextIntValue(String sequenceName)
sequenceName
- DB Sequence Name
String getNextStringValue(String sequenceName)
sequenceName
- DB Sequence Name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |