Tables not seen when moved to server mode
Posted: Tue Jul 16, 2013 2:51 am
I have been reading various post on setting up database, forms...and client server mode for the past 1 month and managed to create a simple database for our project need.
I could create few tables, forms in the embedded mode.
I learnt to migrate this embedded to split file by specifying the Database URL with file option.
hsqldb:file:\\users\public\database\mydb\mydb;default_schema=true
my aim is to have a split file database and run this in server mode to accomodate multi users .
I am using OpenOffice 3.4.1
I have folder mydb with the following files. mydb.backup, mydb.data, mydb.properties, mydb.script, mydb.server.odb and Start_HSQLDB_Server.bat and Stop_HSQLDB_Server.bat
Database URL is hsqldb:hsql://<IP address>/;default_schema=true and JDBC driver class is org.hsqldb.jdbcDriver.
My start_HSQLDB_Server,bat looks like
@echo off
set javapath=C:\Program Files\Java\jre6\bin\Java.exe
set jarpath=C:\Program Files\openoffice.org 3\basis\program\classes\hsqldb.jar
"%javapath%" -cp "%jarpath%" org.hsqldb.Server -database.0 file:mydb
When I open mydb.server.odb, the tables are not appearing.
Is my configuration correct?
what am missing? Please help me with pointers.
I googled alot and ended up in various post...and looks like am following all the steps...but still the tables are not appearing.
Please advice.
I could create few tables, forms in the embedded mode.
I learnt to migrate this embedded to split file by specifying the Database URL with file option.
hsqldb:file:\\users\public\database\mydb\mydb;default_schema=true
my aim is to have a split file database and run this in server mode to accomodate multi users .
I am using OpenOffice 3.4.1
I have folder mydb with the following files. mydb.backup, mydb.data, mydb.properties, mydb.script, mydb.server.odb and Start_HSQLDB_Server.bat and Stop_HSQLDB_Server.bat
Database URL is hsqldb:hsql://<IP address>/;default_schema=true and JDBC driver class is org.hsqldb.jdbcDriver.
My start_HSQLDB_Server,bat looks like
@echo off
set javapath=C:\Program Files\Java\jre6\bin\Java.exe
set jarpath=C:\Program Files\openoffice.org 3\basis\program\classes\hsqldb.jar
"%javapath%" -cp "%jarpath%" org.hsqldb.Server -database.0 file:mydb
When I open mydb.server.odb, the tables are not appearing.
Is my configuration correct?
what am missing? Please help me with pointers.
I googled alot and ended up in various post...and looks like am following all the steps...but still the tables are not appearing.
Please advice.