Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Caused by: org.h2.jdbc.JdbcSQLException: Schema "myschema" already exists; SQL statement:
- CREATE SCHEMA myschema [90078-196]
- debug: true
- spring:
- data:
- jpa:
- repositories:
- enabled: true
- jpa:
- database: h2
- generate-ddl: true
- show-sql: true
- hibernate:
- ddl-auto: create-drop
- properties:
- hibernate.hbm2ddl.auto: create-drop
- datasource:
- 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
- username: sa
- password:
- driver-class-name: org.h2.Driver
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement