com.samskivert.jdbc.depot.clause
Class FieldOverride
java.lang.Object
com.samskivert.jdbc.depot.clause.QueryClause
com.samskivert.jdbc.depot.clause.FieldDefinition
com.samskivert.jdbc.depot.clause.FieldOverride
- All Implemented Interfaces:
- SQLExpression
public class FieldOverride
- extends FieldDefinition
Redirects one field of the persistent object we're creating from its default associated column
to a general SQLExpression.
Thus the select portion of a query can include a reference to a different column in a different
table through a ColumnExp, or a literal expression such as COUNT(*) through a
LiteralExp.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldOverride
public FieldOverride(String field,
String str)
FieldOverride
public FieldOverride(String field,
Class<? extends PersistentRecord> pClass,
String pCol)
FieldOverride
public FieldOverride(String field,
SQLExpression override)
Copyright © 2000-2008 Michael Bayne.
All Rights Reserved.