blob: dbff207dde488c8b0fff952becd865f8121273b5 [file] [log] [blame]
lukegleeson665e2242023-01-11 09:45:53 +00001# ============LICENSE_START=======================================================
danielhanrahan36b81b22023-08-17 14:58:30 +01002# Copyright (C) 2023-2024 Nordix Foundation.
lukegleeson665e2242023-01-11 09:45:53 +00003# ================================================================================
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15# SPDX-License-Identifier: Apache-2.0
16# ============LICENSE_END=========================================================
17
18spring:
19 jpa:
20 ddl-auto: create
21 show-sql: false
22 properties:
danielhanrahan36b81b22023-08-17 14:58:30 +010023 hibernate.enable_lazy_load_no_trans: true
24 hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
25 hibernate.format_sql: true
26 hibernate.show_sql: false
27 # Please ensure these values match those used in cps-application/src/main/resources/application.yml
28 hibernate.id.new_generator_mappings: true
29 hibernate.jdbc.batch_size: 100
lukegleeson665e2242023-01-11 09:45:53 +000030
31 datasource:
32 url: ${DB_URL}
33 username: ${DB_USERNAME}
34 password: ${DB_PASSWORD}
35 driverClassName: org.postgresql.Driver
36 initialization-mode: always
37
38 liquibase:
danielhanrahane6fe08b2024-02-13 09:53:07 +000039 change-log: classpath:changelog/changelog-master.yaml