(cherry picked from commit 69193f9de8178dbaa1d8467f1686b100dd2b161c)
This commit is contained in:
parent
58d07b2ffc
commit
ad627c7eab
|
@ -233,7 +233,7 @@ public abstract class PreparedStatementTestCase extends JdbcIntegrationTestCase
|
|||
}
|
||||
|
||||
try (Connection connection = esJdbc()) {
|
||||
try (PreparedStatement statement = connection.prepareStatement("SELECT id, text FROM test WHERE text = ?")) {
|
||||
try (PreparedStatement statement = connection.prepareStatement("SELECT id, text FROM test WHERE text = ? ORDER BY id")) {
|
||||
statement.setString(1, text);
|
||||
|
||||
try (ResultSet results = statement.executeQuery()) {
|
||||
|
|
Loading…
Reference in New Issue