| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected ConnectionFactory |
ds |
protected DBSequencer |
sequencer |
| コンストラクタと説明 |
|---|
SqlSequencer(ConnectionFactory ds,
DBSequencer seq) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.sql.Connection |
getConnection() |
java.lang.Long |
next()
通番を返す。
|
java.lang.Long |
next(java.sql.Connection con)
通番を返す。
|
protected DBSequencer sequencer
protected ConnectionFactory ds
public SqlSequencer(ConnectionFactory ds, DBSequencer seq)
public java.lang.Long next() throws SequencerException
next インタフェース内 SequencerSequencerExceptionpublic java.lang.Long next(java.sql.Connection con) throws SequencerException
protected java.sql.Connection getConnection() throws FatalException
FatalException