Class JDBCStringContains

java.lang.Object
org.apache.openjpa.kernel.exps.StringContains
org.apache.openjpa.jdbc.kernel.exps.JDBCStringContains
All Implemented Interfaces:
Serializable, JDBCFilterListener, FilterListener

@Deprecated public class JDBCStringContains extends StringContains implements JDBCFilterListener
Deprecated.
Use matches() instead.
Tests if the target contains the given argument. The argument must be a constant. Examples:
"address.street.ext:stringContains (\"main\")"
See Also:
  • Constructor Details

    • JDBCStringContains

      public JDBCStringContains()
      Deprecated.
  • Method Details

    • appendTo

      public void appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)
      Deprecated.
      Description copied from interface: JDBCFilterListener
      Append the SQL for this expression or value.
      Specified by:
      appendTo in interface JDBCFilterListener
      Parameters:
      buf - the SQL buffer to append to
      target - the target to act on, or null if the listener doesn't expect a target
      args - the values of the arguments given in the filter, or null if this listener doesn't expect arguments
      type - the class mapping for the query's candidate class
      store - the store that owns the query