org.apache.openjpa.jdbc.kernel.exps
Class SQLExpression
java.lang.Object
org.apache.openjpa.jdbc.kernel.exps.SQLEmbed
org.apache.openjpa.jdbc.kernel.exps.SQLExpression
- All Implemented Interfaces:
- Serializable, JDBCFilterListener, FilterListener
Deprecated. Use SQLEmbed
directly
public class SQLExpression
- extends SQLEmbed
Simple listener which embeds the argument as an expression into the
where clause generated by the query. Listens on "ext:sqlExp".
Example:
"price < 10 || ext:sqlExp (\"(SELECT AVG (PRICE) FROM PRODUCT_TABLE)
> 100\")"
- See Also:
- Serialized Form
Method Summary |
String |
getTag()
Deprecated. Return the tag that this extension listens for. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static final String TAG
- Deprecated.
- See Also:
- Constant Field Values
SQLExpression
public SQLExpression()
- Deprecated.
getTag
public String getTag()
- Deprecated.
- Description copied from interface:
FilterListener
- Return the tag that this extension listens for.
- Specified by:
getTag
in interface FilterListener
- Overrides:
getTag
in class SQLEmbed
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.