Skip to content

Instantly share code, notes, and snippets.

@engarifulislam
Created September 3, 2016 17:29
Show Gist options
  • Save engarifulislam/9d44d7885d20772ecab6bf294f86c835 to your computer and use it in GitHub Desktop.
Save engarifulislam/9d44d7885d20772ecab6bf294f86c835 to your computer and use it in GitHub Desktop.
#Spring application.properties file will be database connection
spring.datasource.url=jdbc:mysql://localhost:3306/springmvc
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql= true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment