Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
- # SqlServer
- # add integratedSecurity=true property on above configuration and remove username/password as they are not needed.
- spring.datasource.url=jdbc:sqlserver://localhost:1433;integratedSecurity=true;InstanceName=SQLEXPRESS;DatabaseName=jarvis;
- # remote
- #spring.datasource.url=jdbc:sqlserver://172.25.220.6\SNSM1389D0,1971;InstanceName=WIN-P77F2RNP86R\Utente;DatabaseName=jarvis;integratedSecurity=true
- #spring.datasource.username=jarvisDB
- #spring.datasource.password=xOBxrJupAxhxsjU
- spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
- # Hibernate
- # The SQL dialect makes Hibernate generate better SQL for the chosen database
- spring.jpa.show-sql=true
- # MySQL
- #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
- # SqlServer
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServer2012Dialect
- # Hibernate ddl auto (none, create, create-drop, validate, update)
- spring.jpa.hibernate.ddl-auto=update
- logging.level.org.hibernate.SQL=DEBUG
- logging.level.org.hibernate.type=TRACE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement