org.apache.ojb.broker.accesslayer.sql
Class SqlExistStatement
java.lang.Object
org.apache.ojb.broker.accesslayer.sql.SqlPkStatement
org.apache.ojb.broker.accesslayer.sql.SqlExistStatement
- All Implemented Interfaces:
- SqlStatement
public class SqlExistStatement
- extends SqlPkStatement
Generate a select to check existence of an object.
Something like "SELECT id_1 FROM myTable where id_1 = 123 and id_2 = 'kjngzt'".
- Version:
- $Id: SqlExistStatement.java,v 1.1 2007-08-24 22:17:39 ewestfal Exp $
- Author:
- Armin Waibel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECT
private static final String SELECT
- See Also:
- Constant Field Values
FROM
private static final String FROM
- See Also:
- Constant Field Values
sql
private String sql
SqlExistStatement
public SqlExistStatement(ClassDescriptor aCld,
Logger aLogger)
getStatement
public String getStatement()
- Return SELECT clause for object existence call
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.