Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Fri, 2012-04-13 at 16:35 +0200, Andreas Säger wrote:
Am 13.04.2012 15:50, Dan Lewis wrote:
On Fri, 2012-04-13 at 09:38 -0400, Dan Lewis wrote:
I have hsqldb installed and running. But I don't find the
information that I need to connect Base to it. I have read I can use
either ODBC  or JDBC to do this. JDBC requires: Data source URL  jdbc::
and JDBC driver class. What belongs in these two boxes?
      If ODBC can be used, what goes in the "Name of the ODBC data source
on your system? (I don't even know what they are asking for.)

--Dan

     Added question: What goes in /tools/options/LibreOffice>Java>Driver>
Class path?



On my system that is:
1) /usr/local/lib/hsqldb/lib/hsqldb.jar
2a) hsqldb:hsql://192.168.0.2/chargen;default_schema=true
2b) > 
hsqldb:file:/home/andreas/hsqldb_databases/Praxis/hsqldbdata/db0/chargen;default_schema=true;shutdown=true;hsqldb.default_table_type=cached;get_column_name=false
 


2a) connects to a HSQL server, where a configuration file controls which 
database directory is served under which alias name.

2b) connects to a local development version of the database (cached mode 
analog to the embedded thing). 
/home/andreas/hsqldb_databases/Praxis/hsqldbdata/db0/ contains the 3 
database files chargen.script, chargen.data, chargen.properties.

/usr/local/lib/hsqldb/index.html is the entry point to the excellent 
documentation (313 pages of PDF).



Right - and once the jar has been added into the system you can also
connect to a HSQLdb server running in FILE mode - meaning that the
server will not need to be started before the connection is established,
instead in the connection string you designate the file directory to be
used and as part of establishing the connection it starts an instance of
the server in your process space and uses the directory listed to store
the work files.

//drew


-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.