Note that there are some explanatory texts on larger screens.

plurals
  1. POHSQLDB 2.2.9: understanding server.properties file
    primarykey
    data
    text
    <p>I am running hsqlddb 2.2.9 on ubuntu Linux but I am struggling to understand the server.properties file. With hsqldb installed under /usr/local, when I start the server with java org.hsqldb.server.Server from the place I put the server.properties file, suppose server.properties is:</p> <pre><code>server.database.0=file:/usr/local/hsqldb-2.2.9/hsqldb/hibernate/hiberdb server.dbname.0=hiberdb </code></pre> <p>Then I get a subdirectory hibdernate with everthing in it labeled</p> <pre><code>hibderdb.{log,script,properties,tmp} </code></pre> <p>with hibderdb.tmp an empty directory. So far so good.</p> <hr> <p>However I cannot understand hyper sql db's logic in the following cases:</p> <p>Suppose server.properties is:</p> <pre><code>server.database.0=file:/usr/local/hsqldb-2.2.9/hsqldb/hibernate server.dbname.0=hiberdb </code></pre> <p>then the hibderdb alias is ignode and I get files</p> <pre><code>hibernate.{log,properties,script,tmp} </code></pre> <p>in the same directory as the server.properties file (i.e. in the current directory).</p> <p>or even the following:</p> <pre><code>server.database.0=file:/usr/local/hsqldb-2.2.9/hsqldb/hibernate/ server.dbname.0=hiberdb </code></pre> <p>then all I get is a hibernate subdirectory with no hibderdb.* files and instead I have files</p> <pre><code>hibernate/{.log,.properties,.script,.tmp} </code></pre> <p>(these are hidden Unix files, and again the alias property dbname is ignored).</p> <p>The HSQLDB documentation has an example:</p> <p><a href="http://hsqldb.org/doc/2.0/guide/listeners-chapt.html#lsc_server_props" rel="nofollow">http://hsqldb.org/doc/2.0/guide/listeners-chapt.html#lsc_server_props</a></p> <pre><code>server.database.1=file:/opt/db/mydb server.dbname.1=enrolments </code></pre> <p>Is this example outdated or wrong?</p> <p>Thanks,</p> <p>Jason Posit</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload