hello-world-postgres.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. server:
  2. type: simple
  3. applicationContextPath: /
  4. connector:
  5. type: http
  6. port: 9090
  7. useServerHeader: true
  8. # There is no proxy in front of the server
  9. useForwardedHeaders: false
  10. # Test requirements forbid gzip compression of the replies
  11. gzip:
  12. enabled: false
  13. requestLog:
  14. appenders: []
  15. logging:
  16. level: WARN
  17. appenders:
  18. - type: console
  19. database:
  20. # the name of your JDBC driver
  21. driverClass: org.postgresql.Driver
  22. # the username
  23. user: benchmarkdbuser
  24. # the password
  25. password: benchmarkdbpass
  26. # the JDBC URL
  27. url: jdbc:postgresql://tfb-database:5432/hello_world
  28. # any properties specific to your JDBC driver:
  29. properties:
  30. charSet: UTF-8
  31. hibernate.dialect: org.hibernate.dialect.PostgreSQL9Dialect
  32. # enable batch updates in Hibernate
  33. hibernate.jdbc.batch_size: 30
  34. hibernate.jdbc.batch_versioned_data: true
  35. # the maximum amount of time to wait on an empty pool before throwing an exception
  36. maxWaitForConnection: 1s
  37. # the initial number of connections
  38. initialSize: 8
  39. # the minimum number of connections to keep open
  40. minSize: 8
  41. # the maximum number of connections to keep open
  42. maxSize: 256
  43. # whether or not idle connections should be validated
  44. checkConnectionWhileIdle: false
  45. # disable comments in SQL queries
  46. autoCommentsEnabled: false
  47. # disable autocommit in the JDBC driver
  48. autoCommitByDefault: false