Project

General

Profile

task #9207

update ehcache dependency and handle hibernate-ehcache

Added by Andreas Müller 3 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
08/25/2020
Due date:
% Done:

0%

Severity:
normal

Description

The latest version of ehcache-core is 3.8.1 but has a different groupId since version 3.0 so we need to check if this is still working together.

Also we should check if cdmlib-remote dependency hibernate-ehcache is really needed. It relates to the similar library ehcache (not -core) and therefore many classes are duplicated.
Removing hibernate-ehcache from maven pom does not create any compile problems.

Associated revisions

Revision aee6b479 (diff)
Added by Andreas Müller 3 months ago

ref #9207, ref #9204 remove hibernate-ehcache from cdmlib-remote dependencies

Revision 7548c282 (diff)
Added by Andreas Müller 3 months ago

ref #9207 remove ehcache-core dependency from cdmlib-services as it is already in cdmlib-model

Revision 87616e6e (diff)
Added by Andreas Müller 3 months ago

ref #9207, ref #9204 upgrade ehcache-core to ehcache 2.10.6 (further upgrade to 3.8.1 is planned, but has different groupId)

Revision 041b822c (diff)
Added by Andreas Müller 3 months ago

ref #9207 adapt CdmTransientEntityCacher to new ehcache version

Revision 1559973c (diff)
Added by Andreas Müller 3 months ago

ref #9207 exclude ehcache-core from dependencies

Revision 806f96a2 (diff)
Added by Andreas Müller 3 months ago

ref #9207 , ref #9204 upgrade taxeditor.cdmlib to ehcache-2.10.6

History

#1 Updated by Andreas Müller 3 months ago

The different versions have different sizes. The old version net.sf.ehcache-core and the very new version org.ehcache have 9MB.

Therefore we should discuss if we really want to use net.sf.ehcache. Better we migrate cdmlib-cache to org.ehcache and keep net.sf.ehcache-core as long as it is referenced by any dependent library.
org.ehcache has completely new namespaces and a couple of changes. Therefore it is not compatible to any 2.x version at all.

#2 Updated by Andreas Müller 3 months ago

  • Status changed from New to In Progress
  • Target version changed from Unassigned CDM tickets to Release 5.18

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)