Skip to content

Commit

Permalink
raised versions of hibernate(#1697) (#1728)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Suvorov <sergey.suvorov@odysseusinc.com>
Co-authored-by: Anton Abushkevich <anton.abushkevich@gmail.com>
  • Loading branch information
3 people committed Jan 14, 2021
1 parent 1492f79 commit ad2b7de
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>
<postgresql.version>42.2.18</postgresql.version>
<bouncycastle.version>1.68</bouncycastle.version>

Expand Down Expand Up @@ -489,6 +490,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 @@ -506,6 +513,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 @@ -527,12 +540,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 @@ -802,11 +820,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 ad2b7de

Please sign in to comment.