|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectstyle.cayenne.dba.JdbcAdapter
yawda.utils.cayenne.mysql.MySQLAdapter
| Nested Class Summary | |
static class |
MySQLAdapter.MySQLPKGenerator
|
| Field Summary |
| Fields inherited from class org.objectstyle.cayenne.dba.JdbcAdapter |
extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsUniqueConstraints, typesHandler |
| Fields inherited from interface org.objectstyle.cayenne.dba.DbAdapter |
availableAdapterClassNames, DB2, FIREBIRD, HSQLDB, JDBC, MYSQL, OPENBASE, ORACLE, POSTGRES, SQLSERVER, SYBASE |
| Constructor Summary | |
MySQLAdapter()
|
|
| Method Summary | |
org.objectstyle.cayenne.map.DbAttribute |
buildAttribute(String name,
String typeName,
int type,
int size,
int precision,
boolean allowNulls)
|
protected void |
configureExtendedTypes(org.objectstyle.cayenne.access.types.ExtendedTypeMap map)
Installs appropriate ExtendedTypes used as converters for passing values between JDBC and Java layers. |
String |
createFkConstraint(org.objectstyle.cayenne.map.DbRelationship rel)
Throws an exception, since FK constraints are not supported by MySQL. |
protected org.objectstyle.cayenne.dba.PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
String |
tableTypeForView()
Returns null, since views are not yet supported in MySQL. |
| Methods inherited from class org.objectstyle.cayenne.dba.JdbcAdapter |
bindParameter, createDataNode, createTable, createUniqueConstraint, dropTable, externalTypesForJdbcType, findAdapterResource, getBatchTerminator, getExtendedTypes, getPkGenerator, getQualifierTranslator, getQueryTranslator, queryTranslatorClass, setPkGenerator, setSupportsBatchUpdates, setSupportsFkConstraints, setSupportsUniqueConstraints, shouldRunBatchQuery, supportsBatchUpdates, supportsFkConstraints, supportsUniqueConstraints, tableTypeForTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectstyle.cayenne.dba.DbAdapter |
|
| Constructor Detail |
public MySQLAdapter()
| Method Detail |
protected final void configureExtendedTypes(org.objectstyle.cayenne.access.types.ExtendedTypeMap map)
public final org.objectstyle.cayenne.map.DbAttribute buildAttribute(String name,
String typeName,
int type,
int size,
int precision,
boolean allowNulls)
public final String createFkConstraint(org.objectstyle.cayenne.map.DbRelationship rel)
public final String tableTypeForView()
protected final org.objectstyle.cayenne.dba.PkGenerator createPkGenerator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||