H2 Database IDEA 源码 DEBUG 环境搭建
H2 Database IDEA 源码 DEBUG 环境搭建
基于最新的 version-2.3.230 拉取分支。
git remote add h2 https://github.com/h2database/h2database.git
git fetch h2
git checkout -b version-2.3.230 version-2.3.230
使用
# 启动
java -jar h2*.jar
# H2 shell 方式使用
java -cp h2-*.jar org.h2.tools.Shell
h2 shell
启动类 org.h2.tools.Shell
# 配置启动参数
-url "jdbc:h2:~/test" -user "sa" -password ""
测试 case
create table + insert
Welcome to H2 Shell 2.3.230 (2024-07-15)
Exit with Ctrl+C
[Enter] jdbc:h2:~/test
URL jdbc:h2:~/test
[Enter]
浙公网安备 33010602011771号