Restore original separator set (but keep new isParameterSeparator impl)
Issue: SPR-16340
This commit is contained in:
parent
9623cdec48
commit
44fd2d96cc
|
@ -55,7 +55,7 @@ public abstract class NamedParameterUtils {
|
|||
* Set of characters that qualify as parameter separators,
|
||||
* indicating that a parameter name in a SQL String has ended.
|
||||
*/
|
||||
private static final String PARAMETER_SEPARATORS = "\"':&,;()[]|=+-*%/\\<>^";
|
||||
private static final String PARAMETER_SEPARATORS = "\"':&,;()|=+-*%/\\<>^";
|
||||
|
||||
/**
|
||||
* An index with separator flags per character code.
|
||||
|
|
|
@ -31,6 +31,7 @@ import java.util.Map;
|
|||
import javax.sql.DataSource;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.ExpectedException;
|
||||
|
@ -145,6 +146,7 @@ public class NamedParameterJdbcTemplateTests {
|
|||
verify(connection).close();
|
||||
}
|
||||
|
||||
@Ignore("SPR-16340")
|
||||
@Test
|
||||
public void testExecuteArray() throws SQLException {
|
||||
given(preparedStatement.executeUpdate()).willReturn(1);
|
||||
|
|
Loading…
Reference in New Issue