Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spring.mvc.view.prefix=/WEB-INF/jsp/
- spring.mvc.view.suffix=.jsp
- spring.profiles.active=dev
- # Database url
- spring.datasource.url = jdbc:mysql://localhost:3306/springUser?useSSL=false&useTimezone=true&serverTimezone=UTC
- spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
- # Database credentials
- spring.datasource.username = root
- spring.datasource.password =
- spring.jpa.show-sql = true
- spring.jpa.generate-ddl=true
- spring.jpa.hibernate.ddl-auto = update
- # Keep database connection alive
- spring.datasource.tomcat.test-while-idle = true
- spring.datasource.tomcat.validation-query = SELECT 1
- # ==============================
- # --- JPA / Hibernate
- # ==============================
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement