Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankjadda committed Jun 1, 2020
1 parent 156caed commit a1d47b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
16 changes: 8 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.6.RELEASE</version>
<version>2.3.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.pj</groupId>
<artifactId>liquibasedemo</artifactId>
<version>1.2</version>
<version>1.3</version>
<name>liquibasedemo</name>
<description>Liquibase Demo project with Spring Boot and Spring Data</description>

<properties>
<spring-boot.version>2.2.6.RELEASE</spring-boot.version>
<hibernate.version>5.4.12.Final</hibernate.version>
<liquibase-core.version>3.8.8</liquibase-core.version>
<liquibase-maven-plugin.version>3.8.8</liquibase-maven-plugin.version>
<liquibase-hibernate5.version>3.8</liquibase-hibernate5.version>
<spring-boot.version>2.3.0.RELEASE</spring-boot.version>
<hibernate.version>5.4.17.Final</hibernate.version>
<liquibase-core.version>3.9.0</liquibase-core.version>
<liquibase-maven-plugin.version>3.9.0</liquibase-maven-plugin.version>
<liquibase-hibernate5.version>3.9.0</liquibase-hibernate5.version>
<validation-api.version>2.0.1.Final</validation-api.version>
<javassist.version>3.24.0-GA</javassist.version>
<javassist.version>3.27.0-GA</javassist.version>
</properties>

<dependencies>
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/pj/liquibasedemo/domain/Region.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.persistence.Column;
import javax.persistence.Entity;
Expand All @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/liquibase.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit a1d47b0

Please sign in to comment.