SHARE
TWEET

Untitled

a guest Oct 3rd, 2017 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top