Skip to content

Commit

Permalink
raised versions of hibernate(#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuvorov-fls committed Dec 30, 2020
1 parent 6b3796f commit 3fcf2a5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 31 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<flyway.version>4.2.0</flyway.version>
<waffle.version>2.2.1</waffle.version>
<jna.version>5.5.0</jna.version>
<hibernate.version>5.4.24.Final</hibernate.version>

<circe.version>1.9.0-SNAPSHOT</circe.version>
<jersey.version>2.14</jersey.version>
Expand Down Expand Up @@ -487,6 +488,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<artifactId>org.hibernate</artifactId>
<groupId>hibernate-validator</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -504,6 +511,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jersey</artifactId>
<exclusions>
<exclusion>
<artifactId>org.hibernate</artifactId>
<groupId>hibernate-validator</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -525,12 +538,17 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.4.2.Final</version>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Expand Down Expand Up @@ -800,11 +818,23 @@
<groupId>com.odysseusinc</groupId>
<artifactId>logging</artifactId>
<version>${arachne.version}</version>
<exclusions>
<exclusion>
<artifactId>org.hibernate</artifactId>
<groupId>hibernate-validator</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.odysseusinc.arachne</groupId>
<artifactId>arachne-scheduler</artifactId>
<version>${arachne.version}</version>
<exclusions>
<exclusion>
<artifactId>org.hibernate</artifactId>
<groupId>hibernate-validator</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void removeOldCache() {

List<GenerationCache> caches = generationCacheRepository.findAllByCreatedDateBefore(
DateUtils.addDays(new Date(), -1 * invalidateAfterDays),
EntityGraphUtils.fromAttributePaths("source")
EntityGraphUtils.fromAttributePaths("source", "source.daimons")
);
caches.forEach(gc -> generationCacheService.removeCache(gc.getType(), gc.getSource(), gc.getDesignHash()));
}
Expand Down

0 comments on commit 3fcf2a5

Please sign in to comment.