org.apache.beehive.controls.system.jdbc.parser
Class SqlSubstitutionFragment

Object
  extended by SqlFragment
      extended by SqlFragmentContainer
          extended by SqlSubstitutionFragment

public class SqlSubstitutionFragment
extends SqlFragmentContainer

Represents a fragement from the SQL annotation's statement member which begins with '{sql:'. Substitution fragements are unique in that they are fully evaluated BEFORE a PreparedStatement is generated.

Supported 'sql:' escapes are subst and fn. subst is the default mode, and will be used if 'sql: ' is specified. The fn variant of this construct has a very ridgid syntax at this point. It must conform to:

   {sql:fn in(x,{y})}
 
where the '{y}' could also be some literal term.


Field Summary
 
Fields inherited from class SqlFragmentContainer
_children
 
Method Summary
 
Methods inherited from class SqlFragmentContainer
toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait