Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PostgresDB config
- spring.datasource.url=jdbc:postgresql://localhost:5432/parking
- spring.datasource.driver-class-name=org.postgresql.Driver
- spring.datasource.username=postgres
- spring.datasource.password=aphextwin
- spring.jpa.show-sql=true
- ### Hibernate Properties
- ## The SQL dialect makes Hibernate generate better SQL for the chosen database
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
- ## Hibernate ddl auto (create, create-drop, validate, update)
- spring.jpa.hibernate.ddl-auto=create-drop
- # Setting for filling initial data
- # set this to always for load initial data from data-postgresql.sql file
- spring.datasource.initialization-mode=never
- spring.datasource.platform=postgresql
- # Enable columns naming from entities annotation
- spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
- # Enable scheduling
- spring.enable.scheduling=true
- # Setting for background task
- scheduler.delete-stats.cron="0 0 1 * * *"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement