@SpringBootApplication
public class H2ServerApplication
extends Object
Application bootstrapping H2 database server.
With a bundled startup script this application is run:
$ dataflow-server-yarn-h2 \
--dataflow.database.h2.directory=/path/to/db \
--dataflow.database.h2.username=myuser \
--dataflow.database.h2.password=mypw \
--dataflow.database.h2.port=19092 \
--dataflow.database.h2.database=mydb
Will work both persist files and in-memory if directory is set.
If password is changed for existing persist db files, database
will fail to start.
- Author:
- Janne Valkealahti