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