spring.application.name=springboot-scaffold
server.port=8083
server.forward-headers-strategy=framework

spring.profiles.active=${APP_PROFILE:learn}

# H2 Database (default baseline; learn profile overrides to in-memory)
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:file:~/h2/springboot_scaffold
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=

# JPA
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true

# MyBatis
mybatis.configuration.map-underscore-to-camel-case=true
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

# Logging
logging.level.com.example.scaffold=DEBUG
logging.level.org.springframework.transaction.interceptor=TRACE