Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

ralf-ueberfuhr-ars/spring-data-2023-05-09

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

First Steps

Launch the application

Run the CustomerServiceApplication class directly or use Maven:

mvn spring-boot:run -Dspring-boot.run.profiles=dev

or build the JAR and run

mvn package
java -jar -Dspring.profiles.active=dev target/customer-service-spring-data-0.0.1-SNAPSHOT.jar

Liquibase

We can run the application locally using the liquibase profile. In contrast to the dev profile, this will disable automatic schema generation by Hibernate and enable Liquibase ChangeLog Activation. This will connect to another local database, so we have both databases, one for each profile.

Changelog Generation

We can use the liquibase-maven-plugin:generateChangeLog goal to initially generate a sample changelog from the database that was created by Hibernate. Therefore, we need to activate the liquibase Maven profile.

mvn liquibase:generateChangeLog -Pliquibase

Further

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages