开发者

what does jdbc:hsqldb:hsqlTempFiles mean

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜