public class ParameterBinder extends 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(PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
public static int bindQueryParameters(PreparedStatement st, QueryParameters queryParameters, int start, ParameterBinder.NamedParameterSource source, SessionImplementor session) throws 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 sessionSQLException
- Indicates a problem calling JDBC bind methodsHibernateException
- Indicates a problem access bind values.Copyright © 2017 JBoss by Red Hat. All rights reserved.