Changeset 5c20c64 for backend


Ignore:
Timestamp:
02/10/26 14:02:45 (5 months ago)
Author:
Andrej <asumanovski@…>
Branches:
master
Children:
ff01f66
Parents:
8615885
Message:

Added new content to the landing page and fixed app properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • backend/src/main/resources/application.properties

    r8615885 r5c20c64  
    44# JPA & Hibernate
    55# ============================
    6 spring.jpa.hibernate.ddl-auto=update
     6# NOTE: On some managed PostgreSQL providers the app user cannot read pg_catalog views
     7# like pg_settings. Hibernate schema migration/metadata introspection can trigger that
     8# access during startup (e.g., when ddl-auto=update).
     9#
     10# Default to no automatic DDL. Override locally if your DB user has sufficient rights:
     11#   export SPRING_JPA_HIBERNATE_DDL_AUTO=update
     12spring.jpa.hibernate.ddl-auto=${SPRING_JPA_HIBERNATE_DDL_AUTO:none}
    713spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
    814spring.jpa.show-sql=false
     
    1016spring.jpa.properties.hibernate.default_schema=trekr
    1117spring.jpa.properties.hibernate.hbm2ddl.create_namespaces=true
     18
     19# Avoid JDBC metadata access on boot (further reduces pg_catalog permission requirements)
     20spring.jpa.properties.hibernate.boot.allow_jdbc_metadata_access=false
    1221
    1322# ============================
Note: See TracChangeset for help on using the changeset viewer.