|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.accesslayer.sql.SqlQueryStatement
org.apache.ojb.broker.accesslayer.sql.SqlDeleteByQuery
Model a DELETE by Query Statement
Nested Class Summary |
Nested classes inherited from class org.apache.ojb.broker.accesslayer.sql.SqlQueryStatement |
SqlQueryStatement.AttributeInfo, SqlQueryStatement.Join, SqlQueryStatement.TableAlias |
Field Summary |
Fields inherited from class org.apache.ojb.broker.accesslayer.sql.SqlQueryStatement |
m_logger |
Fields inherited from interface org.apache.ojb.broker.accesslayer.JoinSyntaxTypes |
ORACLE_JOIN_SYNTAX, SQL92_JOIN_SYNTAX, SQL92_NOPAREN_JOIN_SYNTAX, SYBASE_JOIN_SYNTAX |
Constructor Summary | |
SqlDeleteByQuery(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlDeleteByQuery. |
Method Summary | |
protected java.lang.String |
getColName(SqlQueryStatement.TableAlias aTableAlias,
SqlHelper.PathInfo aPathInfo,
boolean translate)
Answer the column name for alias and path info if translate try to convert attribute name into column name otherwise use attribute name if a FieldDescriptor is found for the attribute name the column name is taken from there prefixed with the alias (firstname -> A0.F_NAME). |
java.lang.String |
getStatement()
Answer the SELECT by primary key Sql for the Statement |
Methods inherited from class org.apache.ojb.broker.accesslayer.sql.SqlQueryStatement |
appendClause, appendColName, appendColName, appendColName, appendCriteria, appendGroupByClause, appendHavingClause, appendOrderByClause, appendSQLClause, appendTableWithJoins, appendWhereClause, buildSuperJoinTree, ensureColumns, getAttributeInfo, getBaseClassDescriptor, getFieldDescriptor, getJoinSyntaxType, getJoinTreeToCriteria, getLogger, getQuery, getRoot, getSearchClassDescriptor, getSearchTable, setRoot, splitCriteria |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlDeleteByQuery(Platform pf, ClassDescriptor cld, Query query, Logger logger)
cld
- Method Detail |
public java.lang.String getStatement()
SqlStatement
org.apache.ojb.broker.accesslayer.SqlStatement#getStatement()
protected java.lang.String getColName(SqlQueryStatement.TableAlias aTableAlias, SqlHelper.PathInfo aPathInfo, boolean translate)
SqlQueryStatement
getColName
in class SqlQueryStatement
aTableAlias
- aPathInfo
- translate
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |