From b0e822092b2226346d1661372b07c7abbab957bd Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 31 Oct 2025 16:23:25 +0100 Subject: [PATCH] mvn clean build 2 --- .gitea/workflows/jdk.yaml | 2 +- src/main/resources/application.properties | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/jdk.yaml b/.gitea/workflows/jdk.yaml index b90d037..3939fee 100644 --- a/.gitea/workflows/jdk.yaml +++ b/.gitea/workflows/jdk.yaml @@ -159,7 +159,7 @@ jobs: # Run backend tests and build - name: Test & build backend working-directory: ./src - run: mvn clean build + run: mvn clean install - name: Done run: echo "Workflow successfully completed." \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ba7942f..5145dd5 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,9 +1,10 @@ spring.application.name=cruddemo -spring.datasource.url=jdbc:mysql://localhost:3306/student_tracker -spring.datasource.username=springstudent -spring.datasource.password=springstudent +spring.datasource.url=jdbc:mysql://localhost:33070/student_tracker +spring.datasource.username=root +spring.datasource.password=password spring.jpa.hibernate.ddl-auto=update +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect #Turn off the springboot logo spring.main.banner-mode=off