|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLActionVisitor
A factory interface to create standard SQLActions for a set of standard queries.
Instances of SQLActionVisitor are passed by Cayenne to a Query in
Query.createSQLAction(SQLActionVisitor)
, allowing
query to choose the action type and convert itself to a "standard" query if needed.
Individual DbAdapters would provide special visitors, thus allowing for DB-dependent
execution algorithms.
Query.createSQLAction(SQLActionVisitor)
Method Summary | |
---|---|
SQLAction |
batchAction(BatchQuery query)
Creates an action to execute a batch update query. |
SQLAction |
ejbqlAction(EJBQLQuery query)
Creates an action to execute EJBQL query. |
SQLAction |
objectSelectAction(SelectQuery query)
Creates an action to execute a SelectQuery. |
SQLAction |
procedureAction(ProcedureQuery query)
Creates an action to execute a ProcedureQuery. |
SQLAction |
sqlAction(SQLTemplate query)
Creates an action to execute a SQLTemplate. |
SQLAction |
updateAction(Query query)
Creates an action to execute a generic update query. |
Method Detail |
---|
SQLAction updateAction(Query query)
SQLAction batchAction(BatchQuery query)
SQLAction objectSelectAction(SelectQuery query)
SQLAction sqlAction(SQLTemplate query)
SQLAction procedureAction(ProcedureQuery query)
SQLAction ejbqlAction(EJBQLQuery query)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |