hello-world-postgres.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. server:
  2. type: simple
  3. applicationContextPath: /
  4. connector:
  5. type: http
  6. port: 9090
  7. useServerHeader: true
  8. requestLog:
  9. appenders: []
  10. logging:
  11. appenders: []
  12. database:
  13. # the name of your JDBC driver
  14. driverClass: org.postgresql.Driver
  15. # the username
  16. user: benchmarkdbuser
  17. # the password
  18. password: benchmarkdbpass
  19. # the JDBC URL
  20. url: jdbc:postgresql://127.0.0.1:5432/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
  21. # any properties specific to your JDBC driver:
  22. properties:
  23. charSet: UTF-8
  24. hibernate.dialect: org.hibernate.dialect.PostgreSQL9Dialect
  25. # the maximum amount of time to wait on an empty pool before throwing an exception
  26. maxWaitForConnection: 1s
  27. # the minimum number of connections to keep open
  28. minSize: 8
  29. # the maximum number of connections to keep open
  30. maxSize: 256
  31. # whether or not idle connections should be validated
  32. checkConnectionWhileIdle: false