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.
精彩评论