HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix)

This commit is contained in:
Steve Ebersole 2016-01-11 17:32:28 -06:00
parent a35abf43e9
commit fd1ff34f03
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import org.hibernate.HibernateException;
import org.hibernate.LockOptions; import org.hibernate.LockOptions;
import org.hibernate.QueryException; import org.hibernate.QueryException;
import org.hibernate.ScrollMode; import org.hibernate.ScrollMode;
import org.hibernate.dialect.Dialect;
import org.hibernate.engine.query.spi.HQLQueryPlan; import org.hibernate.engine.query.spi.HQLQueryPlan;
import org.hibernate.hql.internal.classic.ParserHelper; import org.hibernate.hql.internal.classic.ParserHelper;
import org.hibernate.internal.CoreLogging; import org.hibernate.internal.CoreLogging;
@ -39,7 +38,7 @@ public final class QueryParameters {
/** /**
* Symbols used to split SQL string into tokens in {@link #processFilters(String, Map, SessionFactoryImplementor)}. * Symbols used to split SQL string into tokens in {@link #processFilters(String, Map, SessionFactoryImplementor)}.
*/ */
private static final String SYMBOLS = ParserHelper.HQL_SEPARATORS.replace( "'", "" ); private static final String SYMBOLS = ParserHelper.HQL_SEPARATORS.replace( "'", "" );
private Type[] positionalParameterTypes; private Type[] positionalParameterTypes;
private Object[] positionalParameterValues; private Object[] positionalParameterValues;