Home » Hibernate-3.3.2.GA » org.hibernate » engine » [javadoc | source]
org.hibernate.engine
public class: ParameterBinder [javadoc | source]
java.lang.Object
   org.hibernate.engine.ParameterBinder
Centralizes the commonality regarding binding of parameter values into PreparedStatements as this logic is used in many places.

Ideally would like to move to the parameter handling as it is done in the hql.ast package.

Nested Class Summary:
public static interface  ParameterBinder.NamedParameterSource   
Method from org.hibernate.engine.ParameterBinder Summary:
bindNamedParameters,   bindNamedParameters,   bindPositionalParameters,   bindPositionalParameters,   bindQueryParameters
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.ParameterBinder Detail:
 public static int bindNamedParameters(PreparedStatement ps,
    QueryParameters queryParameters,
    int start,
    NamedParameterSource source,
    SessionImplementor session) throws SQLException, HibernateException 
 public static int bindNamedParameters(PreparedStatement ps,
    Map namedParams,
    int start,
    NamedParameterSource source,
    SessionImplementor session) throws SQLException, HibernateException 
 public static int bindPositionalParameters(PreparedStatement st,
    QueryParameters queryParameters,
    int start,
    SessionImplementor session) throws SQLException, HibernateException 
 public static int bindPositionalParameters(PreparedStatement st,
    Object[] values,
    Type[] types,
    int start,
    SessionImplementor session) throws SQLException, HibernateException 
 public static int bindQueryParameters(PreparedStatement st,
    QueryParameters queryParameters,
    int start,
    NamedParameterSource source,
    SessionImplementor session) throws SQLException, HibernateException