Created
July 8, 2022 00:49
-
-
Save jjeanjacques10/abc99197ebabdfd39fb9cd5a0d4eab4d to your computer and use it in GitHub Desktop.
Spring Data JPA application.properties config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Database URL | |
spring.datasource.url=jdbc:mysql://localhost:3306/shinobiDatabase | |
# Database User and Password | |
spring.datasource.username=root | |
spring.datasource.password=hokage | |
# Driver -> MySQL | |
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver | |
# Show SQL in terminal | |
spring.jpa.show-sql=true | |
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect | |
# DDL Strategy - create, create-drop, update, validate, none | |
spring.jpa.hibernate.ddl-auto=update | |
# Convert Camelcase to Database Default | |
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment