In Liferay with hsql: Where is the database file

百般思念 提交于 2019-12-12 11:36:52

问题


I am using Liferay with Apache Tomcat and hsql. I need to locate the database file that is used. According to hsql documentation there should be a file lportal.data in the directory data/hsql, but there isn't one.


回答1:


The hibernate database consists of 4 files.

The .script file contains the data as SQL, the .log that last actions that took place, the .properties the configuration and the .lck is the db lockfile.

These are the database, hsql has nothing like one big .data file. All other constructs that are typical for a database are generated and only in memory.




回答2:


Connection line jdbc:hsqldb:file:/D:/Coding/liferay-portal-6.1.0-ce-ga1/data/hsql/lportal for Squirrel SQL Client (Liferay on Apache Tomcat)



来源:https://stackoverflow.com/questions/6826868/in-liferay-with-hsql-where-is-the-database-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!