From a1d47b02311d17e78ae6e062cfe896bb11f2e727 Mon Sep 17 00:00:00 2001 From: Pavan Jadda Date: Mon, 1 Jun 2020 00:33:23 -0400 Subject: [PATCH] Update dependencies --- pom.xml | 16 ++++++++-------- .../java/com/pj/liquibasedemo/domain/Region.java | 4 +--- src/main/resources/liquibase.properties | 4 ++-- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 6b70e29..6d513b9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,23 +5,23 @@ org.springframework.boot spring-boot-starter-parent - 2.2.6.RELEASE + 2.3.0.RELEASE com.pj liquibasedemo - 1.2 + 1.3 liquibasedemo Liquibase Demo project with Spring Boot and Spring Data - 2.2.6.RELEASE - 5.4.12.Final - 3.8.8 - 3.8.8 - 3.8 + 2.3.0.RELEASE + 5.4.17.Final + 3.9.0 + 3.9.0 + 3.9.0 2.0.1.Final - 3.24.0-GA + 3.27.0-GA diff --git a/src/main/java/com/pj/liquibasedemo/domain/Region.java b/src/main/java/com/pj/liquibasedemo/domain/Region.java index d1e403c..9494157 100755 --- a/src/main/java/com/pj/liquibasedemo/domain/Region.java +++ b/src/main/java/com/pj/liquibasedemo/domain/Region.java @@ -2,7 +2,6 @@ import lombok.Data; -import org.hibernate.validator.constraints.Length; import javax.persistence.Column; import javax.persistence.Entity; @@ -22,14 +21,13 @@ public class Region private Long Id; @Column(name = "name") - @Length(max = 20, min = 2) private String name; public Region() { } - public Region(@Length(max = 20, min = 2) String name) + public Region( String name) { this.name = name; } diff --git a/src/main/resources/liquibase.properties b/src/main/resources/liquibase.properties index 9f799fe..a3765d5 100644 --- a/src/main/resources/liquibase.properties +++ b/src/main/resources/liquibase.properties @@ -2,8 +2,8 @@ # DB properties #url=${spring.datasource.url} url=jdbc:mysql://localhost:3306/liquibasedemo?serverTimezone=UTC -username=root -password=bcmc1234 +#username=root +#password=bcmc1234 #username=${spring.datasource.username} #password=${spring.datasource.password}