I have a java program, using Hibernate in standalone mode. It reads custom data files, processes these, and makes results to be written out with Hibernate. The idea is to write to db files on the disk. My persistence.xml includes the line
<property name='hibernate.connection.url' value='jdbc:hsqldb:file:/tmp/m5' />
I run the program. It makes files /tmp/m5.{log, properties} The m5.properties file includes the comment "HSQL ... 1.8.0.10".
I rerun the program. It appends to m5.log, and now makes m5.script.
Can anyone answer any of these [probably simple?] questions -
1. I want to write to a database file on the disk, so that this file exists after my program is done. Is the m5.script my database?
2. Why is m5.script only made on the second run?
|