add jpa module

This commit is contained in:
2024-02-28 16:39:48 +09:00
parent 32a7d91a1d
commit d2bb77ca33
17 changed files with 337 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
spring:
application:
name: My spring-boot project
datasource:
url: jdbc:mariadb://localhost:3306/test
driver-class-name: org.mariadb.jdbc.Driver
username: testuser
password: _test_
jpa:
open-in-view: false
generate-ddl: true
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MariaDBDialect
thymeleaf:
prefix: classpath:/view/
suffix: .html
server:
port: 8080