# =================================================================== # Spring Boot configuration. # # This configuration is used for unit/integration tests with testcontainers database containers. # # To activate this configuration launch integration tests with the 'testcontainers' profile # # More information on database containers: https://www.testcontainers.org/modules/databases/ # =================================================================== spring: datasource: type: com.zaxxer.hikari.HikariDataSource driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver url: jdbc:tc:mysql:8.0.25:///DataSurvey?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=${user.timezone}&TC_TMPFS=/testtmpfs:rw username: root password: hikari: poolName: Hikari auto-commit: false data-source-properties: cachePrepStmts: true prepStmtCacheSize: 250 prepStmtCacheSqlLimit: 2048 useServerPrepStmts: true jpa: database-platform: org.hibernate.dialect.MySQL8Dialect