Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Database connection with the given database name
- spring.datasource.url = jdbc:mysql://localhost:3306/java_blog?createDatabaseIfNotExist=true&useUnicode=yes&characterEncoding=UTF-8
- # Username and password
- spring.datasource.username = root
- spring.datasource.password =
- # Show or not log for each sql query
- spring.jpa.show-sql = true
- # Hibernate ddl auto (create, create-drop, update): with "update" the database
- # schema will be automatically updated accordingly to java entities found in
- # the project
- # Using "create" will delete and recreate the tables every time the project is started
- spring.jpa.hibernate.ddl-auto=update
- # Naming strategy
- spring.jpa.hibernate.naming.strategy = org.hibernate.cfg.ImprovedNamingStrategy
- # Allows Hibernate to generate SQL optimized for a particular DBMS
- spring.jpa.properties.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
- #Turn off Thymeleaf cache
- spring.thymeleaf.cache = false
- spring.http.multipart.max-file-size=60000KB
- spring.http.multipart.max-request-size=60000KB
- spring.devtools.livereload.enabled=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement