Guest User

Untitled

a guest
Feb 12th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. ### Hibernate setup
  2. hibernate.dialect = org.hibernate.dialect.H2Dialect
  3. hibernate.hbm2ddl.auto = create
  4. hibernate.show_sql = false
  5.  
  6. ### Hikari Connection pool setup
  7. hibernate.connection.provider_class = com.zaxxer.hikari.hibernate.HikariConnectionProvider
  8. hibernate.hikari.minimumIdle = 5
  9. hibernate.hikari.maximumPoolSize = 10
  10. hibernate.hikari.idleTimeout = 30000
  11.  
  12. ### PostgreSQL datasource *
  13. hibernate.hikari.dataSourceClassName = org.postgresql.ds.PGSimpleDataSource
  14.  
  15. hibernate.hikari.username = postgres
  16. hibernate.hikari.password = chleba
  17.  
  18. ### PGSimpleDataSource *
  19. hibernate.hikari.dataSource.serverName=localhost
  20. hibernate.hikari.dataSource.portNumber=5432
  21. hibernate.hikari.dataSource.databaseName=project
  22.  
  23. # *) Property keys will be different for other databases
Add Comment
Please, Sign In to add comment