Merge pull request #12186 from panos-kakos/JAVA-10597
[JAVA-10597] Increased JOOQ version
This commit is contained in:
commit
723069e599
|
@ -195,7 +195,7 @@
|
|||
</build>
|
||||
|
||||
<properties>
|
||||
<org.jooq.version>3.12.4</org.jooq.version>
|
||||
<org.jooq.version>3.14.15</org.jooq.version>
|
||||
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
||||
<sql-maven-plugin.version>1.5</sql-maven-plugin.version>
|
||||
<properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
|
||||
|
|
|
@ -77,6 +77,13 @@ public class CountQueryIntegrationTest {
|
|||
Assert.assertEquals(1, count);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void givenValidData_whenFetchCountWithMultipleConditionsUsingAndOperator_thenSucceed() {
|
||||
int count = dsl.fetchCount(AUTHOR, AUTHOR.FIRST_NAME.equalIgnoreCase("Bryan").and(AUTHOR.ID.notEqual(1)));
|
||||
Assert.assertEquals(1, count);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void givenValidData_whenFetchCountWithConditionsInVarargs_thenSucceed() {
|
||||
Condition firstCond = AUTHOR.FIRST_NAME.equalIgnoreCase("Bryan");
|
||||
|
|
Loading…
Reference in New Issue