在将数据插入HSQLDB之后,我尝试使用数据库管理器连接到它,但它失败了。
我以独立模式启动hsqldb。以下是错误消息:
Connection to HSQLDB (Local) - target failed Database lock acquisition failure:
lockFile: org.hsqldb.persist.LockFile@a9e38b36[file =C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\bin\target\misc.lck, exists=false, locked=false, valid=false, ]
method: openRAF
reason: java.io.FileNotFoundException: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\bin\target\misc.lck (The system cannot find the path specified)发布于 2016-02-08 07:49:55
如果以独立模式启动hsqldb。就会像你说的那样发生。
在这种模式下。DB引擎将与应用程序共享相同的jvm,进程将比服务器模式更快。但不好的是你不能从外面进入。包括数据库管理器。
如果您想通过工具查看数据。请在服务器模式下启动db
https://stackoverflow.com/questions/35264602
复制相似问题