public class PostgresPkGenerator extends OraclePkGenerator
adapter, DEFAULT_PK_CACHE_SIZE, pkCache, pkCacheSize, pkStartValue
Modifier | Constructor and Description |
---|---|
|
PostgresPkGenerator()
Used by DI
|
protected |
PostgresPkGenerator(JdbcAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
protected String |
createSequenceString(DbEntity ent) |
protected String |
selectAllSequencesQuery() |
protected String |
selectNextValQuery(String sequenceName) |
createAutoPk, createAutoPkStatements, dropAutoPk, dropAutoPkStatements, dropSequenceString, getExistingSequences, getSequencePrefix, longPkFromDatabase, pkCacheSize, sequenceName
autoPkTableExists, dropAutoPkString, generatePk, getAdapter, getPkCacheSize, pkCreateString, pkDeleteString, pkSelectString, pkTableCreateString, pkUpdateString, reset, runUpdate, setAdapter, setPkCacheSize
public PostgresPkGenerator()
protected PostgresPkGenerator(JdbcAdapter adapter)
protected String createSequenceString(DbEntity ent)
createSequenceString
in class OraclePkGenerator
protected String selectNextValQuery(String sequenceName)
selectNextValQuery
in class OraclePkGenerator
protected String selectAllSequencesQuery()
selectAllSequencesQuery
in class OraclePkGenerator
Copyright © 2001–2019 Apache Cayenne. All rights reserved.