org.apache.openjpa.jdbc.kernel.exps
Class SQLValue

java.lang.Object
  extended by org.apache.openjpa.jdbc.kernel.exps.SQLEmbed
      extended by org.apache.openjpa.jdbc.kernel.exps.SQLValue
All Implemented Interfaces:
Serializable, JDBCFilterListener, FilterListener

Deprecated. Use SQLEmbed directly

public class SQLValue
extends SQLEmbed

Simple listener which embeds the argument as a value into the where clause generated by the query. Listens on "ext:sqlVal". Example:
"price < ext:sqlVal (\"(SELECT AVG (PRICE) FROM PRODUCT_TABLE)\")"

See Also:
Serialized Form

Field Summary
static String TAG
          Deprecated.  
 
Constructor Summary
SQLValue()
          Deprecated.  
 
Method Summary
 String getTag()
          Deprecated. Return the tag that this extension listens for.
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.SQLEmbed
appendTo, evaluate, expectsArguments, expectsTarget, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final String TAG
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SQLValue

public SQLValue()
Deprecated. 
Method Detail

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-2008 Apache Software Foundation. All Rights Reserved.