File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11application.title =Appointment Booking Application
22
3- spring.application.name =appointment-booking
4-
53management.endpoint.health.show-components =always
64management.endpoint.health.show-details =always
75management.endpoints.web.exposure.include =*
86
7+ spring.application.name =appointment-booking
8+
99spring.h2.console.enabled =true
1010
1111spring.datasource.url =jdbc:h2:mem:appointmentbooking
1212spring.datasource.username =sa
1313spring.datasource.password =password
1414
15- spring.flyway.locations =classpath:db/migration
1615spring.flyway.enabled =true
1716
1817# Hibernate DDL-auto is recommended as 'none' when using Flyway for migrations
1918spring.jpa.hibernate.ddl-auto =none
2019
21- # Show SQL queries in logs for easier debugging
20+ # To avoid potential lazy loading issues in the view layer, disable OSIV (Open Session in View) which is enabled by default in Spring Boot:
21+ spring.jpa.open-in-view =false
22+
23+ # Show SQL queries in logs for easier debugging (just for development purposes)
2224spring.jpa.show-sql =true
25+ # To beautify or pretty-print the logged SQL (see above), we can add:
26+ spring.jpa.properties.hibernate.format_sql =true
2327
2428spring.banner.location =classpath:/banner/jbd_banner.txt
You can’t perform that action at this time.
0 commit comments