anotheruser15564654

app prop

Nov 7th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. # Specify the database connection settings
  2. spring.datasource.url=jdbc:h2:mem:testdb
  3. spring.datasource.driverClassName=org.h2.Driver
  4. spring.datasource.username=sa
  5. spring.datasource.password=
  6. spring.datasource.platform=h2
  7. # Hibernate settings
  8. # This will update DB scheme due to your entity design after SQL queries
  9. # Turning this off for example will not create JoinTables (which are absent in schema.sql)
  10. spring.jpa.hibernate.ddl-auto=create
  11. spring.jpa.show-sql=true
  12. # Automatically execute schema.sql and data.sql on startup. Setting this to `never` will not exec SQL.
  13. spring.sql.init.mode=NEVER
  14. spring.sql.init.schema-locations=classpath:schema.sql
  15. spring.sql.init.data-locations=classpath:data.sql
  16. spring.h2.console.enabled=true
  17. spring.h2.console.path=/h2
Advertisement
Add Comment
Please, Sign In to add comment