Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Created December 30, 2017 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chathurangat/6b81429bb233213492e11f9afbf5d7c6 to your computer and use it in GitHub Desktop.
Save chathurangat/6b81429bb233213492e11f9afbf5d7c6 to your computer and use it in GitHub Desktop.
## Spring DATA SOURCE Configurations
spring.datasource.url = jdbc:mysql://localhost:3306/spring_examples_db?useSSL=false
spring.datasource.username = root
spring.datasource.password = test123
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto = update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment