|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectstyle.cayenne.dba.JdbcPkGenerator
yawda.utils.cayenne.mysql.MySQLAdapter.MySQLPKGenerator
| Nested Class Summary |
| Nested classes inherited from class org.objectstyle.cayenne.dba.JdbcPkGenerator |
org.objectstyle.cayenne.dba.JdbcPkGenerator.PkRetrieveProcessor |
| Field Summary |
| Fields inherited from class org.objectstyle.cayenne.dba.JdbcPkGenerator |
DEFAULT_PK_CACHE_SIZE, NEXT_ID, objDesc, pkCache, pkCacheSize, resultDesc |
| Constructor Summary | |
MySQLAdapter.MySQLPKGenerator()
|
|
| Method Summary | |
protected int |
getPrimaryKey(Statement statement,
String entityName)
|
protected int |
pkFromDatabase(org.objectstyle.cayenne.access.DataNode node,
org.objectstyle.cayenne.map.DbEntity ent)
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. |
| Methods inherited from class org.objectstyle.cayenne.dba.JdbcPkGenerator |
autoPkTableExists, binaryPK, createAutoPk, createAutoPkStatements, dropAutoPk, dropAutoPkStatements, dropAutoPkString, generatePkForDbEntity, generatePkForDbEntityString, getPkCacheSize, pkCreateString, pkDeleteString, pkSelectString, pkUpdateString, reset, runSelect, runUpdate, setPkCacheSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MySQLAdapter.MySQLPKGenerator()
| Method Detail |
protected final int pkFromDatabase(org.objectstyle.cayenne.access.DataNode node,
org.objectstyle.cayenne.map.DbEntity ent)
throws Exception
Exception
protected final SQLException processSQLException(SQLException exception,
SQLException parent)
protected final String pkTableCreateString()
protected final int getPrimaryKey(Statement statement,
String entityName)
throws SQLException
SQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||