1
票
Accepted
H2にてschema定義のsqlを読み込ませる方法
まず、H2への接続なのでドライバもH2用のもの org.h2.Driver を用いる必要があります:
spring:
datasource:
mysql:
url: jdbc:h2:mem:testdb
password: hoge
username: hgoe
driver-class-name: org.h2.Driver
その上で、...
Only top scored, non community-wiki answers of a minimum length are eligible
関連するタグ
junit × 28java × 20
spring-boot × 4
android × 3
spring × 3
maven × 3
eclipse × 2
mock × 2
mockito × 2
database × 1
kotlin × 1
gradle × 1
java8 × 1
テスト × 1
thymeleaf × 1
elasticsearch × 1
exception × 1
github-actions × 1
uiautomator × 1