...
20000 can be greater or smaller
Application.properties file
Typical settings
Code Block |
---|
spring.application.name=vat_calculator_service
server.max-http-request-header-size=20000
# H2 Database configuration
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
spring.jpa.defer-datasource-initialization=true
spring.jpa.hibernate.ddl-auto=update
# Incase you are using MYSQL Database please comment/remove h2 database configuration above
# And uncomment below configuration
#spring.jpa.hibernate.ddl-auto=update
#spring.datasource.url=jdbc:mysql://localhost:3306/mydb
#spring.datasource.username=root
#spring.datasource.password=password
spring.jpa.show-sql = true |