|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SqlDynaProperty | |
---|---|
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.platform | This package contains the platform implementations for the individual databases. |
org.apache.ddlutils.platform.postgresql | This package contains the platform implementation for the PostgreSQL database. |
Uses of SqlDynaProperty in org.apache.ddlutils.dynabean |
---|
Methods in org.apache.ddlutils.dynabean that return SqlDynaProperty | |
---|---|
SqlDynaProperty[] |
SqlDynaClass.getNonPrimaryKeyProperties()
Returns the properties for the non-primary keys of the corresponding table. |
SqlDynaProperty[] |
SqlDynaClass.getPrimaryKeyProperties()
Returns the properties for the primary keys of the corresponding table. |
SqlDynaProperty[] |
SqlDynaClass.getSqlDynaProperties()
Returns the properties of this dyna class. |
Constructors in org.apache.ddlutils.dynabean with parameters of type SqlDynaProperty | |
---|---|
SqlDynaClass(Table table,
SqlDynaProperty[] properties)
Creates a new dyna class instance for the given table that has the given properties. |
Uses of SqlDynaProperty in org.apache.ddlutils.platform |
---|
Methods in org.apache.ddlutils.platform with parameters of type SqlDynaProperty | |
---|---|
protected java.lang.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 java.lang.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 java.lang.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 java.lang.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 void |
PlatformImplBase.setObject(java.sql.PreparedStatement statement,
int sqlIndex,
org.apache.commons.beanutils.DynaBean dynaBean,
SqlDynaProperty property)
Sets a parameter of the prepared statement based on the type of the column of the property. |
protected java.util.HashMap |
PlatformImplBase.toColumnValues(SqlDynaProperty[] properties,
org.apache.commons.beanutils.DynaBean bean)
Derives the column values for the given dyna properties from the dyna bean. |
Uses of SqlDynaProperty in org.apache.ddlutils.platform.postgresql |
---|
Methods in org.apache.ddlutils.platform.postgresql with parameters of type SqlDynaProperty | |
---|---|
protected void |
PostgreSqlPlatform.setObject(java.sql.PreparedStatement statement,
int sqlIndex,
org.apache.commons.beanutils.DynaBean dynaBean,
SqlDynaProperty property)
Sets a parameter of the prepared statement based on the type of the column of the property. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |