|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstraction layer to encapsulate different DBMS behaviour for key attribute columns.
Field Summary | |
static java.lang.String |
ROLE
|
Method Summary | |
java.lang.Object |
getPostValue(org.apache.avalon.framework.configuration.Configuration tableConf,
org.apache.avalon.framework.configuration.Configuration columnConf,
org.apache.avalon.framework.configuration.Configuration modeConf,
java.sql.Connection conn,
java.sql.Statement stmt,
java.util.Map objectModel)
Return key attribute value of last inserted row. |
java.lang.Object |
getPreValue(org.apache.avalon.framework.configuration.Configuration tableConf,
org.apache.avalon.framework.configuration.Configuration columnConf,
org.apache.avalon.framework.configuration.Configuration modeConf,
java.sql.Connection conn,
java.util.Map objectModel)
Provide the value for the key attribute column. |
java.lang.String |
getSubquery(org.apache.avalon.framework.configuration.Configuration tableConf,
org.apache.avalon.framework.configuration.Configuration columnConf,
org.apache.avalon.framework.configuration.Configuration modeConf)
Provide subquery string for the key attribute column. |
boolean |
includeAsValue()
Boolean whether the key attribute needs to be included in the insert query as an attribute value (no subquery). |
boolean |
includeInQuery()
Boolean whether the key attribute column needs to be included in the insert query. |
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public java.lang.Object getPostValue(org.apache.avalon.framework.configuration.Configuration tableConf, org.apache.avalon.framework.configuration.Configuration columnConf, org.apache.avalon.framework.configuration.Configuration modeConf, java.sql.Connection conn, java.sql.Statement stmt, java.util.Map objectModel) throws java.sql.SQLException, org.apache.avalon.framework.configuration.ConfigurationException
tableConf
- Table's configuration from resource description.columnConf
- column's configuration from resource description.conn
- Connectionstmt
- Statement that was executed to insert the last row.
java.sql.SQLException
org.apache.avalon.framework.configuration.ConfigurationException
public boolean includeInQuery()
public boolean includeAsValue()
public java.lang.Object getPreValue(org.apache.avalon.framework.configuration.Configuration tableConf, org.apache.avalon.framework.configuration.Configuration columnConf, org.apache.avalon.framework.configuration.Configuration modeConf, java.sql.Connection conn, java.util.Map objectModel) throws java.sql.SQLException, org.apache.avalon.framework.configuration.ConfigurationException
tableConf
- Table's configuration from resource description.columnConf
- column's configuration from resource description.conn
- Connection
java.sql.SQLException
org.apache.avalon.framework.configuration.ConfigurationException
public java.lang.String getSubquery(org.apache.avalon.framework.configuration.Configuration tableConf, org.apache.avalon.framework.configuration.Configuration columnConf, org.apache.avalon.framework.configuration.Configuration modeConf) throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.ConfigurationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |