add jpa module
This commit is contained in:
22
jpa/src/main/resources/application.yaml
Normal file
22
jpa/src/main/resources/application.yaml
Normal 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
|
||||
Reference in New Issue
Block a user