Skip to content

Instantly share code, notes, and snippets.

@netodevel
Created December 30, 2016 14:06
Show Gist options
  • Save netodevel/d4cc36ff97419e0df7e9dfa0ad092edd to your computer and use it in GitHub Desktop.
Save netodevel/d4cc36ff97419e0df7e9dfa0ad092edd to your computer and use it in GitHub Desktop.
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url=jdbc:mysql://localhost/meubanco_test
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.tomcat.test-on-borrow=true
spring.datasource.tomcat.validation-query=SELECT 1
spring.datasource.sql-script-encoding=UTF-8
# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.openInView=true
spring.jpa.show-sql=true
#spring.jpa.hibernate.ddl-auto=validate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment