diff --git a/.github/workflows/maven-build-jdk21.yml b/.github/workflows/maven-build-jdk21.yml
index 9dcbf6d..2b19c57 100644
--- a/.github/workflows/maven-build-jdk21.yml
+++ b/.github/workflows/maven-build-jdk21.yml
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
version:
- - 22.06.8
+ - 22.06.9
steps:
- name: Checkout
diff --git a/.github/workflows/maven-build-snapshots.yml b/.github/workflows/maven-build-snapshots.yml
index 030ad67..18ae6d5 100644
--- a/.github/workflows/maven-build-snapshots.yml
+++ b/.github/workflows/maven-build-snapshots.yml
@@ -18,8 +18,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- - 24.03.1-SNAPSHOT
- - 24.03
+ - 24.03.2-SNAPSHOT
+ - 24.03.1
steps:
- uses: actions/checkout@v4
diff --git a/pom.xml b/pom.xml
index 06040d4..19d6986 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
com.oracle.coherence
coherence-demo
- 8.0.0-SNAPSHOT
+ 8.0.1-SNAPSHOT
@@ -32,7 +32,7 @@
7.0.4
- 24.03
+ 24.03.1
3.0.1
1.0.1
10.17.1.0
@@ -48,7 +48,7 @@
3.4.3
dockerBuild
2.0.0
- 4.1.111.Final
+ 4.1.110.Final
0.2.15
@@ -400,7 +400,7 @@
com.oracle.coherence.ce
pof-maven-plugin
- 24.03
+ ${coherence.version}
instrument
diff --git a/src/main/java/com/oracle/coherence/demo/application/Utilities.java b/src/main/java/com/oracle/coherence/demo/application/Utilities.java
index 57bcacc..b61a854 100644
--- a/src/main/java/com/oracle/coherence/demo/application/Utilities.java
+++ b/src/main/java/com/oracle/coherence/demo/application/Utilities.java
@@ -1,7 +1,7 @@
/*
* File: Utilities.java
*
- * Copyright (c) 2015, 2021 Oracle and/or its affiliates.
+ * Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
@@ -23,10 +23,9 @@
import com.oracle.coherence.demo.model.Trade;
import com.tangosol.net.CacheFactory;
+import com.tangosol.net.Coherence;
import com.tangosol.net.NamedCache;
-import com.tangosol.net.cache.TypeAssertion;
-
import com.tangosol.util.Filters;
import com.tangosol.util.InvocableMap;
@@ -88,20 +87,6 @@ public final class Utilities
@SuppressWarnings("unused")
public static final String VISUALVM = System.getProperty("visualvm.executable", "");
- /**
- * The {@link TypeAssertion} for the trades cache.
- */
- public static final TypeAssertion TRADE_CACHE_TYPE =
- TypeAssertion.withTypes(String.class, Trade.class);
-
-
- /**
- * The {@link TypeAssertion} for the prices cache.
- */
- public static final TypeAssertion PRICE_CACHE_TYPE =
- TypeAssertion.withTypes(String.class, Price.class);
-
-
/**
* The name of the trades cache.
*/
@@ -147,7 +132,7 @@ public static void main(String[] args)
*/
public static NamedCache getTradesCache()
{
- return CacheFactory.getTypedCache(TRADE_CACHE, TRADE_CACHE_TYPE);
+ return Coherence.getInstance().getSession().getCache(TRADE_CACHE);
}
@@ -158,7 +143,7 @@ public static NamedCache getTradesCache()
*/
public static NamedCache getPricesCache()
{
- return CacheFactory.getTypedCache(PRICE_CACHE, PRICE_CACHE_TYPE);
+ return Coherence.getInstance().getSession().getCache(PRICE_CACHE);
}
diff --git a/src/main/resources/cache-config-grid-edition.xml b/src/main/resources/cache-config-grid-edition.xml
index ac3f34d..b8ba2cc 100644
--- a/src/main/resources/cache-config-grid-edition.xml
+++ b/src/main/resources/cache-config-grid-edition.xml
@@ -3,7 +3,7 @@