public class ParameterBinder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParameterBinder.NamedParameterSource
Helper contract for dealing with named parameters and resolving their locations
|
| Modifier and Type | Method and Description |
|---|---|
static int |
bindQueryParameters(java.sql.PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
public static int bindQueryParameters(java.sql.PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
throws java.sql.SQLException,
HibernateException
st - The statement to bind parameters toqueryParameters - The parametersstart - The initial bind positionsource - The named parameter source, for resolving the locations of named parameterssession - The sessionjava.sql.SQLException - Indicates a problem calling JDBC bind methodsHibernateException - Indicates a problem access bind values.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.