LoginSignup
5
3

More than 5 years have passed since last update.

h2 を intellij idea の Database Windowから眺められなくてはまってた

Posted at

Pathはフルパスに

「./target」とかにしたら、ideaの実行パスなのか、どこかわからない所で.dbが作られてるっぽい

Driverのバージョンは合わせる

手元のIDEA(14.0.2)のEmbeddedなdriverが 1.3.175。指定してたのが、1.4.184
生成されるファイルが

  • 1.3.175は $dbName$.h2.db
  • 1.4.184は $dbName$.mv.db

なので、どうあっても読みこんでくれない。

;AUTO_SERVER=TRUE

Databaseにつけておくと複数プロセスからも見れる
弊害がわかってないので油断は禁物

参考にしました。
http://qiita.com/seratch@github/items/fe2e9b7666389c431283

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3