org.shiftone.exq.impl.config.types
Class InlineParam

java.lang.Object
  extended byorg.shiftone.exq.impl.config.types.InlineParam
All Implemented Interfaces:
StatementSQLBuilder

public class InlineParam
extends java.lang.Object
implements StatementSQLBuilder

Class InlineParam - embed the text representation of a parameter directly in the SQL statement. It is recommended that the param tag is used instead where possible, as it allows the database and application server to cache prepared statements. There are some strange queries that this will provide a "way out" for.

Author:
Jeff Drost

Constructor Summary
InlineParam()
           
 
Method Summary
 void buildStatementSQL(java.util.Map paramMap, java.lang.StringBuffer sb)
          Method buildStatementSQL
 void setName(java.lang.String name)
          Method setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineParam

public InlineParam()
Method Detail

setName

public void setName(java.lang.String name)
Method setName

Parameters:
name -

buildStatementSQL

public void buildStatementSQL(java.util.Map paramMap,
                              java.lang.StringBuffer sb)
Method buildStatementSQL

Specified by:
buildStatementSQL in interface StatementSQLBuilder
Parameters:
paramMap -
sb -