Merge branch 'stable-2.16'
* stable-2.16: Set version to 2.16.1-SNAPSHOT Set version to 2.15.8-SNAPSHOT ElasticTestUtils: Factor common code out of ElasticReindexIT/ElasticIndexIT Add support for Elasticsearch 6.5.0 Add Marco Miller as a developer in pom.xml files Fix: Invalid operation for forward only resultset : first Set version to 2.16 Set version to 2.14.17 Change-Id: I8065c31911125fa414452f75fc83290f80cd705e
This commit is contained in:
@@ -60,7 +60,7 @@ public class Schema_151 extends ReviewDbSchemaVersion {
|
||||
PreparedStatement addedOnRetrieval, AccountGroup.Id groupId) throws SQLException {
|
||||
addedOnRetrieval.setInt(1, groupId.get());
|
||||
try (ResultSet resultSet = addedOnRetrieval.executeQuery()) {
|
||||
if (resultSet.first()) {
|
||||
if (resultSet.next()) {
|
||||
return Optional.of(resultSet.getTimestamp(1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class Schema_87 extends ReviewDbSchemaVersion {
|
||||
PreparedStatement uuidRetrieval, AccountGroup.Id id) throws SQLException {
|
||||
uuidRetrieval.setInt(1, id.get());
|
||||
try (ResultSet uuidResults = uuidRetrieval.executeQuery()) {
|
||||
if (uuidResults.first()) {
|
||||
if (uuidResults.next()) {
|
||||
Optional.of(new AccountGroup.UUID(uuidResults.getString(1)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user