Skip to content

Commit

Permalink
Dependency updates - Spring Data 2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioConsolmagno committed May 23, 2022
1 parent 25bb91d commit ab53c98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = 'dev.claudio'
version = '0.1.7'
version = '0.1.8'

apply from: 'maven-publishing.gradle'
apply from: 'code-inspection.gradle'
Expand All @@ -28,7 +28,7 @@ repositories {
}

ext {
spring_data_jpa_version = '2.5.11'
spring_data_jpa_version = '2.6.4'
}

dependencies {
Expand All @@ -41,7 +41,7 @@ dependencies {
testImplementation "org.springframework.boot:spring-boot-starter-test:$spring_data_jpa_version"
testImplementation "org.springframework.boot:spring-boot-starter-data-jpa:$spring_data_jpa_version"

testRuntimeOnly 'com.h2database:h2:1.4.200'
testRuntimeOnly 'com.h2database:h2:2.1.212'

// https://find-sec-bugs.github.io/
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import org.springframework.boot.test.context.SpringBootTest
import org.springframework.data.jpa.repository.JpaRepository
import spock.lang.Specification

import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.Id
Expand Down Expand Up @@ -66,10 +67,12 @@ class UuidUniqueKeyTest extends Specification {
@EqualsAndHashCode(excludes = ["myTemporalId","myFromDate","myToDate"])
class EmployeeWithUuidUniqueKey {
@UniqueKey
@Column(columnDefinition = "uuid")
UUID employeeKey

@Id
@TemporalId
@Column(columnDefinition = "uuid")
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "org.hibernate.id.UUIDGenerator")
UUID myTemporalId
Expand Down

0 comments on commit ab53c98

Please sign in to comment.