| Package | Description |
|---|---|
| org.apache.ddlutils.dynabean |
Provides the special DdlUtils implementations of
DynaClass
and DynaBean that directly map to tables in the database
model. |
| org.apache.ddlutils.model |
This package contains the classes making up the database model.
|
| org.apache.ddlutils.platform |
This package contains the platform implementations for the individual databases.
|
| Modifier and Type | Method and Description |
|---|---|
SqlDynaClass |
DynaClassCache.getDynaClass(org.apache.commons.beanutils.DynaBean dynaBean)
Returns the
SqlDynaClass for the given bean. |
SqlDynaClass |
DynaClassCache.getDynaClass(Table table)
Returns the
SqlDynaClass for the given table. |
static SqlDynaClass |
SqlDynaClass.newInstance(Table table)
Factory method for creating and initializing a new dyna class instance
for the given table.
|
| Modifier and Type | Method and Description |
|---|---|
SqlDynaClass |
Database.getDynaClassFor(org.apache.commons.beanutils.DynaBean bean)
Returns the
SqlDynaClass for the given dyna bean. |
SqlDynaClass |
Database.getDynaClassFor(String tableName)
Returns the
SqlDynaClass for the given table name. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
PlatformImplBase.createDeleteSql(Database model,
SqlDynaClass dynaClass,
SqlDynaProperty[] primaryKeys,
org.apache.commons.beanutils.DynaBean bean)
Creates the SQL for deleting an object of the given type.
|
protected String |
PlatformImplBase.createInsertSql(Database model,
SqlDynaClass dynaClass,
SqlDynaProperty[] properties,
org.apache.commons.beanutils.DynaBean bean)
Creates the SQL for inserting an object of the given type.
|
protected String |
PlatformImplBase.createSelectLastInsertIdSql(Database model,
SqlDynaClass dynaClass)
Creates the SQL for querying for the id generated by the last insert of an object of the given type.
|
protected String |
PlatformImplBase.createUpdateSql(Database model,
SqlDynaClass dynaClass,
SqlDynaProperty[] primaryKeys,
SqlDynaProperty[] properties,
org.apache.commons.beanutils.DynaBean bean)
Creates the SQL for updating an object of the given type.
|
protected String |
PlatformImplBase.createUpdateSql(Database model,
SqlDynaClass dynaClass,
SqlDynaProperty[] primaryKeys,
SqlDynaProperty[] properties,
org.apache.commons.beanutils.DynaBean oldBean,
org.apache.commons.beanutils.DynaBean newBean)
Creates the SQL for updating an object of the given type.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.