Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Primary datasource
- spring.datasource.url=jdbc:postgresql://192.168.2.223:5432/backoffice
- spring.datasource.username=backoffice
- spring.datasource.password=qwerty
- spring.datasource.driverClassName=org.postgresql.Driver
- spring.jpa.hibernate.naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy
- spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
- spring.jpa.show-sql=true
- #JPA properties
- spring.jpa.properties.hibername.show-sql=true
- spring.jpa.properties.hibername.format-sql=true
- spring.jpa.properties.hibername.use_sql_comments=true
- #cache
- spring.jpa.properties.javax.persistence.sharedCache.mode=ENABLE_SELECTIVE
- spring.jpa.properties.hibername.cache.use_secont_level_cache=true
- spring.jpa.properties.hibername.cache.use_query_cache=true
- #statistics
- spring.jpa.properties.hibernate.generate_statistics=true
- #batch processing
- spring.jpa.properties.hibernate.jdbc.batch_size=50
- spring.jpa.properties.hibernate.order_inserts=true
- spring.jpa.properties.hibernate.order_updates=true
- spring.jpa.properties.hibernate.jdbc.batch_versioned_data=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement