This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new 310a1e4e EMPIREDB-388 update Oracle driver dependency and DBColumnExpr
varargs defintion
310a1e4e is described below
commit 310a1e4e51c95baae9e1d13714b5ca674be19357
Author: Rainer Döbele <[email protected]>
AuthorDate: Mon Feb 27 10:16:51 2023 +0100
EMPIREDB-388
update Oracle driver dependency and DBColumnExpr varargs defintion
---
empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java | 3 ++-
pom.xml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
b/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
index d3e440dc..201b50ed 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
@@ -489,7 +489,8 @@ public abstract class DBColumnExpr extends DBExpr
* @param values the values to compare this column with
* @return a DBCompareColExpr for the "not in" operator
*/
- public final DBCompareColExpr notIn(Object... values)
+ @SafeVarargs
+ public final <T> DBCompareColExpr notIn(T... values)
{
if (values==null || values.length==0)
return cmp(DBCmpType.NOTEQUAL, null);
diff --git a/pom.xml b/pom.xml
index 3e885283..84e74bd5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -335,7 +335,7 @@
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
- <version>19.13.0.0.1</version>
+ <version>21.8.0.0</version>
</dependency>
<!-- web -->
<dependency>