Class DB2QueryVisitor
java.lang.Object
org.castor.cpa.persistence.sql.query.visitor.DefaultQueryVisitor
org.castor.cpa.persistence.sql.query.visitor.DefaultDoubleQuoteNameQueryVisitor
org.castor.cpa.persistence.sql.query.visitor.DB2QueryVisitor
- All Implemented Interfaces:
Visitor
Visitor defining special behavior of query building for mySql database.
- Version:
- $Revision: 8469 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Dennis Butterstein
-
Field Summary
Fields inherited from class org.castor.cpa.persistence.sql.query.visitor.DefaultQueryVisitor
_queryString, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleLock
(Select select) Method appending lock clauses as "FOR UPDATE" when needed.Methods inherited from class org.castor.cpa.persistence.sql.query.visitor.DefaultDoubleQuoteNameQueryVisitor
doubleQuoteName
-
Constructor Details
-
DB2QueryVisitor
public DB2QueryVisitor()
-
-
Method Details
-
handleLock
Method appending lock clauses as "FOR UPDATE" when needed.- Overrides:
handleLock
in classDefaultQueryVisitor
- Parameters:
select
- Select to check if locking-clauses have to be appended or not.
-