public class MySQLPkGenerator extends JdbcPkGenerator
adapter, DEFAULT_PK_CACHE_SIZE, pkCache, pkCacheSize, pkStartValue| Modifier and Type | Method and Description |
|---|---|
protected String |
dropAutoPkString() |
protected long |
getLongPrimaryKey(Statement statement,
String entityName) |
protected long |
longPkFromDatabase(DataNode node,
DbEntity entity)
Overrides superclass's implementation to perform locking of the primary key lookup
table.
|
protected String |
pkTableCreateString() |
protected SQLException |
processSQLException(SQLException exception,
SQLException parent)
Appends a new SQLException to the chain.
|
autoPkTableExists, createAutoPk, createAutoPkStatements, dropAutoPk, dropAutoPkStatements, generatePk, getAdapter, getPkCacheSize, pkCreateString, pkDeleteString, pkSelectString, pkUpdateString, reset, runUpdate, setPkCacheSizeprotected String dropAutoPkString()
dropAutoPkString in class JdbcPkGeneratorprotected long longPkFromDatabase(DataNode node, DbEntity entity) throws Exception
longPkFromDatabase in class JdbcPkGeneratorExceptionprotected SQLException processSQLException(SQLException exception, SQLException parent)
protected String pkTableCreateString()
pkTableCreateString in class JdbcPkGeneratorprotected long getLongPrimaryKey(Statement statement, String entityName) throws SQLException
SQLExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.