com.mysema.query.sql.dml
Class AbstractSQLClause

java.lang.Object
  extended by com.mysema.query.sql.dml.AbstractSQLClause
Direct Known Subclasses:
SQLDeleteClause, SQLInsertClause, SQLMergeClause, SQLUpdateClause

public class AbstractSQLClause
extends Object

AbstractSQLClause is a superclass for SQL based DMLClause implementations

Author:
tiwe

Field Summary
protected  Configuration configuration
           
 
Constructor Summary
AbstractSQLClause(Configuration configuration)
           
 
Method Summary
protected  void close(PreparedStatement stmt)
           
protected  void close(ResultSet rs)
           
protected  void setParameters(PreparedStatement stmt, List<?> objects, List<Path<?>> constantPaths, Map<Param<?>,?> params)
          Set the parameters to the given PreparedStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected final Configuration configuration
Constructor Detail

AbstractSQLClause

public AbstractSQLClause(Configuration configuration)
Method Detail

setParameters

protected void setParameters(PreparedStatement stmt,
                             List<?> objects,
                             List<Path<?>> constantPaths,
                             Map<Param<?>,?> params)
Set the parameters to the given PreparedStatement

Parameters:
stmt - preparedStatement to be populated
objects - list of constants
constantPaths - list of paths related to the constants
params - map of param to value for param resolving

close

protected void close(PreparedStatement stmt)

close

protected void close(ResultSet rs)


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.