Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Caused by: org.h2.jdbc.JdbcSQLException: Schema "myschema" already exists; SQL statement:
  2. CREATE SCHEMA myschema [90078-196]
  3.  
  4. debug: true
  5.  
  6. spring:
  7. data:
  8. jpa:
  9. repositories:
  10. enabled: true
  11. jpa:
  12. database: h2
  13. generate-ddl: true
  14. show-sql: true
  15. hibernate:
  16. ddl-auto: create-drop
  17. properties:
  18. hibernate.hbm2ddl.auto: create-drop
  19. datasource:
  20. url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=TRUE;DATABASE_TO_UPPER=false;INIT=CREATE SCHEMA IF NOT EXISTS myschema
  21. username: sa
  22. password:
  23. driver-class-name: org.h2.Driver
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement