summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2023-04-20 12:26:47 +0100
committerDaniel Hanrahan <daniel.hanrahan@est.tech>2023-04-20 13:36:54 +0000
commitec0ba9d94e7922389af1e3cec1b980e1a824e32a (patch)
tree13a053ef5f0c5bc25efb4561310643cfbf3dcbe0
parent26669555d097f9ad01402e0c8fdaf4a7f7532b23 (diff)
Migrate hibernate-types to hypersistence-utils
There is newer release of the dependency that provides JSONB support. The newer version provides additional features, such as Postgres arrays. It was renamed from hibernate-types to hypersistence-utils. Issue-ID: CPS-1573 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iab556850041b592a8c4d515270dfe4bd9547957a
-rwxr-xr-xcps-dependencies/pom.xml6
-rw-r--r--cps-ri/pom.xml6
-rwxr-xr-xcps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java2
3 files changed, 7 insertions, 7 deletions
diff --git a/cps-dependencies/pom.xml b/cps-dependencies/pom.xml
index 13c28a46b1..ec1fa656c6 100755
--- a/cps-dependencies/pom.xml
+++ b/cps-dependencies/pom.xml
@@ -112,9 +112,9 @@
<version>2.8.9</version>
</dependency>
<dependency>
- <groupId>com.vladmihalcea</groupId>
- <artifactId>hibernate-types-52</artifactId>
- <version>2.10.0</version>
+ <groupId>io.hypersistence</groupId>
+ <artifactId>hypersistence-utils-hibernate-52</artifactId>
+ <version>3.3.2</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml
index 4380debedf..b6bc546024 100644
--- a/cps-ri/pom.xml
+++ b/cps-ri/pom.xml
@@ -67,10 +67,10 @@
<artifactId>postgresql</artifactId>
<version>${postgres.version}</version>
</dependency>
- <!-- Add Hibernate support for Postgres datatype JSONB -->
+ <!-- Add Hibernate support for Postgres datatype JSONB and Postgres arrays -->
<dependency>
- <groupId>com.vladmihalcea</groupId>
- <artifactId>hibernate-types-52</artifactId>
+ <groupId>io.hypersistence</groupId>
+ <artifactId>hypersistence-utils-hibernate-52</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java
index 82afc5a818..05befc8711 100755
--- a/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java
+++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java
@@ -21,7 +21,7 @@
package org.onap.cps.spi.entities;
-import com.vladmihalcea.hibernate.type.json.JsonBinaryType;
+import io.hypersistence.utils.hibernate.type.json.JsonBinaryType;
import java.io.Serializable;
import java.util.Set;
import javax.persistence.CascadeType;