|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.common.rdb.layout.Sequence
public class Sequence
| Constructor Summary | |
|---|---|
Sequence(SQLCache sqlCache,
java.sql.Connection jdbcConnection,
boolean supportsSequences)
Create a new sequence object that abstracts the database dependent details |
|
| Method Summary | |
|---|---|
java.lang.Long |
getNext(java.lang.String sequenceName)
Get the next ID in the node sequence |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sequence(SQLCache sqlCache,
java.sql.Connection jdbcConnection,
boolean supportsSequences)
sqlCache - Cache of prepared statementsjdbcConnection - JDBC connection to the databSesupportsSequences - true if the database engine supports sequences, false otherwise| Method Detail |
|---|
public java.lang.Long getNext(java.lang.String sequenceName)
sequenceName - name of the sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||