开发者

what does jdbc:hsqldb:hsqlTempFiles mean

开发者 https://www.devze.com 2023-02-19 11:40 出处:网络
In SimpleORM (a JAVA ORM library) examples, I see a code like: java.sql.Driv开发者_运维知识库erManager.getConnection(\"jdbc:hsqldb:hsqlTempFiles;shutdown=true;\", \"sa\", \"\")

In SimpleORM (a JAVA ORM library) examples, I see a code like:

java.sql.Driv开发者_运维知识库erManager.getConnection("jdbc:hsqldb:hsqlTempFiles;shutdown=true;", "sa", "")

I am not able to understand the meaning of hsqlTempFiles in above. My basic understanding of hsqldb consists of file/mem/res/hsql based access modes. In SimpleORM code archive, I do see a file named hsqlTempFiles.properties and hsqlTempFiles.script.

Is this an older way to refer to file based hsqldb databases?


The part after hsqldb: is the name of the database to connect to. Specifying the name of the file without file: may just be legacy or backward-compatible logic.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号