Work on Passion Project: Zip Code Student Education Portal

application.properties 1.2KB

12345678910111213141516171819202122232425262728
  1. #
  2. #spring.datasource.url=jdbc:mysql://localhost:3306/zip_portal?useSSL=false
  3. #spring.datasource.username=root
  4. #spring.datasource.password=Calcifer1650
  5. #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  6. #spring.jpa.show-sql=true
  7. #
  8. ## The SQL dialect makes Hibernate generate better SQL for the chosen database
  9. #spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  10. #
  11. ## Hibernate ddl auto (create, create-drop, validate, update)
  12. #spring.jpa.hibernate.ddl-auto = update
  13. logging.level.org.hibernate.SQL=DEBUG
  14. logging.level.org.hibernate.type=TRACE
  15. spring.jackson.serialization.fail-on-empty-beans=false
  16. #PostGresql set up
  17. spring.datasource.url= jdbc:postgresql://localhost:5432/zip_portal
  18. spring.datasource.username=postgres
  19. spring.datasource.password=ZipCode4dot1
  20. spring.jpa.hibernate.ddl-auto=update
  21. # Disable feature detection by this undocumented parameter. Check the org.hibernate.engine.jdbc.internal.JdbcServiceImpl.configure method for more details.
  22. spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
  23. # Because detection is disabled you have to set correct dialect by hand.
  24. spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect