How to run H2 database in server mode?

前端 未结 5 358
谎友^
谎友^ 2020-12-02 11:46

How to start H2 database in server mode. I need to start it from my application.I tried the following code:

server = Server.createTcpServer().start();
         


        
5条回答
  •  有刺的猬
    2020-12-02 12:13

    Close all the applications that using H2 (web console, etc) Then add the AUTO_SERVER=TRUE to the end of the location in h2 console and also in java program (which you already have done)

提交回复
热议问题