use of org.hibernate.query.spi.QueryParameterBinding in project hibernate-orm by hibernate.
the class ProcedureCallImpl method setParameter.
@Override
@SuppressWarnings("unchecked")
public ProcedureCallImplementor<R> setParameter(Parameter parameter, Date value, TemporalType temporalType) {
final QueryParameterBinding binding = paramBindings.getBinding(getParameterMetadata().resolve(parameter));
binding.setBindValue(value, temporalType);
return this;
}
use of org.hibernate.query.spi.QueryParameterBinding in project hibernate-orm by hibernate.
the class ProcedureCallImpl method setParameter.
@Override
@SuppressWarnings("unchecked")
public ProcedureCallImplementor<R> setParameter(String name, Date value, TemporalType temporalType) {
final QueryParameterBinding binding = paramBindings.getBinding(name);
binding.setBindValue(value, temporalType);
return this;
}
Aggregations