diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java
index 4fd49b16..cdc8e699 100644
--- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java
+++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java
@@ -19,11 +19,6 @@
import java.util.Iterator;
import java.util.Set;
-import jakarta.persistence.DiscriminatorValue;
-import jakarta.persistence.Entity;
-
-import org.hibernate.annotations.Cache;
-import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.unitedinternet.cosmo.hibernate.validator.Color;
import org.unitedinternet.cosmo.hibernate.validator.DisplayName;
import org.unitedinternet.cosmo.hibernate.validator.Timezone;
@@ -35,6 +30,8 @@
import org.unitedinternet.cosmo.model.QName;
import org.unitedinternet.cosmo.model.Stamp;
+import jakarta.persistence.DiscriminatorValue;
+import jakarta.persistence.Entity;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.Property;
@@ -48,7 +45,6 @@
*/
@Entity
@DiscriminatorValue("calendar")
-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HibCalendarCollectionStamp extends HibStamp implements ICalendarConstants, CalendarCollectionStamp {
private static final long serialVersionUID = 4397868099410967516L;
diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java
index 5cbc9f17..b27a68da 100644
--- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java
+++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java
@@ -15,11 +15,6 @@
*/
package org.unitedinternet.cosmo.model.hibernate;
-import jakarta.persistence.DiscriminatorValue;
-import jakarta.persistence.Entity;
-
-import org.hibernate.annotations.Cache;
-import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.unitedinternet.cosmo.CosmoException;
import org.unitedinternet.cosmo.calendar.ICalendarUtils;
import org.unitedinternet.cosmo.hibernate.validator.EventException;
@@ -29,6 +24,8 @@
import org.unitedinternet.cosmo.model.NoteItem;
import org.unitedinternet.cosmo.model.Stamp;
+import jakarta.persistence.DiscriminatorValue;
+import jakarta.persistence.Entity;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.component.VEvent;
@@ -38,7 +35,6 @@
*/
@Entity
@DiscriminatorValue("eventexception")
-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HibEventExceptionStamp extends HibBaseEventStamp implements EventExceptionStamp {
private static final long serialVersionUID = 3992468809776886156L;
diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java
index 374770cb..1fcbd507 100644
--- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java
+++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java
@@ -18,11 +18,6 @@
import java.util.ArrayList;
import java.util.List;
-import jakarta.persistence.DiscriminatorValue;
-import jakarta.persistence.Entity;
-
-import org.hibernate.annotations.Cache;
-import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.unitedinternet.cosmo.CosmoException;
import org.unitedinternet.cosmo.calendar.ICalendarUtils;
import org.unitedinternet.cosmo.hibernate.validator.Event;
@@ -32,6 +27,8 @@
import org.unitedinternet.cosmo.model.NoteItem;
import org.unitedinternet.cosmo.model.Stamp;
+import jakarta.persistence.DiscriminatorValue;
+import jakarta.persistence.Entity;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.component.VEvent;
@@ -42,7 +39,6 @@
*/
@Entity
@DiscriminatorValue("event")
-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HibEventStamp extends HibBaseEventStamp implements EventStamp {
/**
diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java
index e74c1e8b..b0e1b090 100644
--- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java
+++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java
@@ -33,7 +33,6 @@
*/
@Entity
@DiscriminatorValue("message")
-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HibMessageStamp extends HibStamp implements MessageStamp {
private static final long serialVersionUID = -6100568628972081120L;
diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java
index 6fcd222a..a63ebe6e 100644
--- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java
+++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java
@@ -15,23 +15,20 @@
*/
package org.unitedinternet.cosmo.model.hibernate;
-import jakarta.persistence.DiscriminatorValue;
-import jakarta.persistence.Entity;
-
-import org.hibernate.annotations.Cache;
-import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.unitedinternet.cosmo.model.Item;
import org.unitedinternet.cosmo.model.QName;
import org.unitedinternet.cosmo.model.Stamp;
import org.unitedinternet.cosmo.model.TaskStamp;
+import jakarta.persistence.DiscriminatorValue;
+import jakarta.persistence.Entity;
+
/**
* Hibernate persistent TaskStamp.
*/
@Entity
@DiscriminatorValue("task")
-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HibTaskStamp extends HibStamp implements TaskStamp {
private static final long serialVersionUID = -6197756070431706553L;
diff --git a/cosmo-core/src/test/unit/resources/application-test.yaml b/cosmo-core/src/test/unit/resources/application-test.yaml
index 735076cb..ce6838b0 100644
--- a/cosmo-core/src/test/unit/resources/application-test.yaml
+++ b/cosmo-core/src/test/unit/resources/application-test.yaml
@@ -63,8 +63,7 @@ spring:
hikari:
maximum-pool-size: 10
jpa:
- properties:
- hibernate.dialect: org.hibernate.dialect.MariaDB103Dialect
+ properties:
hibernate.cache.use_query_cache: false
hibernate.cache.use_second_level_cache: false
hibernate.show_sql: false
diff --git a/cosmo-webapp/pom.xml b/cosmo-webapp/pom.xml
index 1c0c223b..b4c5a1ba 100644
--- a/cosmo-webapp/pom.xml
+++ b/cosmo-webapp/pom.xml
@@ -5,7 +5,7 @@
cosmo-multimodule
net.oneandone.cosmo
- 6.0.2
+ 7.0.0-SNAPSHOT
4.0.0
@@ -17,7 +17,7 @@
net.oneandone.cosmo
cosmo-core
- 6.0.2
+ 7.0.0-SNAPSHOT
diff --git a/cosmo-webapp/src/main/resources/application.yaml b/cosmo-webapp/src/main/resources/application.yaml
index 2708cabb..b8b28213 100644
--- a/cosmo-webapp/src/main/resources/application.yaml
+++ b/cosmo-webapp/src/main/resources/application.yaml
@@ -70,7 +70,6 @@ spring:
maximum-pool-size: 10
jpa:
properties:
- hibernate.dialect: org.hibernate.dialect.MariaDB103Dialect
hibernate.cache.use_query_cache: false
hibernate.cache.use_second_level_cache: false
hibernate.show_sql: false
diff --git a/pom.xml b/pom.xml
index 9e5a4edd..db08d8ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,24 +28,23 @@
UTF-8
3.3.1
- 6.2.2.Final
- 8.0.0.Final
-
- 2.2.4
+ 6.5.2.Final
+ 8.0.1.Final
+
3.0.1
3.2.14
- 1.9.2
+ 1.9.22.1
- 3.1.4
- 2.12.0
+ 3.4.0
+ 2.12.2
1.6.1
1.0.1
4.0.6
- 2.17.1
+ 2.17.2
1.1.3
- 5.9.2
+ 5.10.3
true
@@ -59,13 +58,13 @@
4.7.3.4
3.6.0
- 2.5.3
+ 2.5.3
3.0.1
- 3.0.1
- 1.6
+ 3.0.1
+ 1.6
3.0
- 3.2.5
- 3.4.0
+ 3.2.5
+ 3.4.0
3.13.0
@@ -122,7 +121,7 @@
dev.atchison.mariaDB4j
mariaDB4j
test
- 2.7.1
+ 2.7.2