|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.is.jrf.SQLBuilder | +--com.is.jrf.InsertSQLBuilder
Instances of this class build SQL to do INSERT statements.
Fields inherited from class com.is.jrf.SQLBuilder |
i_columnSpecs, i_dbPolicy, i_domain, i_tableAlias, i_tableName |
Constructor Summary | |
InsertSQLBuilder()
This constructor throws an exception. |
|
InsertSQLBuilder(AbstractDomain domain)
|
Method Summary | |
java.lang.String |
buildSQL(PersistentObject aPO,
JDBCHelper aJDBCHelper,
java.lang.String tableName,
java.util.List columnSpecs)
Build SQL to insert a row using the columnSpecs and the next available primary key object ID. |
Methods inherited from class com.is.jrf.SQLBuilder |
getColumnSpecs, getDatabasePolicy, getTableAlias, getTableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InsertSQLBuilder()
public InsertSQLBuilder(AbstractDomain domain)
Method Detail |
public java.lang.String buildSQL(PersistentObject aPO, JDBCHelper aJDBCHelper, java.lang.String tableName, java.util.List columnSpecs)
aPO
- a value of type 'PersistentObject'pkId
- a value of type 'Object' that will be the primary key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |