hello-world-postgres.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. appenders: []
  17. database:
  18. # the name of your JDBC driver
  19. driverClass: org.postgresql.Driver
  20. # the username
  21. user: benchmarkdbuser
  22. # the password
  23. password: benchmarkdbpass
  24. # the JDBC URL
  25. url: jdbc:postgresql://TFB-database:5432/hello_world
  26. # any properties specific to your JDBC driver:
  27. properties:
  28. charSet: UTF-8
  29. hibernate.dialect: org.hibernate.dialect.PostgreSQL9Dialect
  30. # enable batch updates in Hibernate
  31. hibernate.jdbc.batch_size: 30
  32. hibernate.jdbc.batch_versioned_data: true
  33. # the maximum amount of time to wait on an empty pool before throwing an exception
  34. maxWaitForConnection: 1s
  35. # the initial number of connections
  36. initialSize: 8
  37. # the minimum number of connections to keep open
  38. minSize: 8
  39. # the maximum number of connections to keep open
  40. maxSize: 256
  41. # whether or not idle connections should be validated
  42. checkConnectionWhileIdle: false
  43. # disable comments in SQL queries
  44. autoCommentsEnabled: false
  45. # disable autocommit in the JDBC driver
  46. autoCommitByDefault: false