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:
java.io.Serializable, JDBCFilterListener, org.apache.openjpa.kernel.exps.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 java.lang.String TAG
          Deprecated.  
 
Constructor Summary
SQLValue()
          Deprecated.  
 
Method Summary
 java.lang.String getTag()
          Deprecated.  
 
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 java.lang.String TAG
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SQLValue

public SQLValue()
Deprecated. 
Method Detail

getTag

public java.lang.String getTag()
Deprecated. 
Specified by:
getTag in interface org.apache.openjpa.kernel.exps.FilterListener
Overrides:
getTag in class SQLEmbed


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.