Issue 81731 - OoBase : Db file stored on USB device does not open the tables
Summary: OoBase : Db file stored on USB device does not open the tables
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.2.1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: dbaneedsconfirm
QA Contact: issues@dba
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2007-09-19 09:26 UTC by pmelchiobe
Modified: 2008-05-07 10:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Databse Properties (29.50 KB, image/jpeg)
2007-09-19 09:29 UTC, pmelchiobe
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pmelchiobe 2007-09-19 09:26:53 UTC
If you create an HSQLDB database (Database wizard/Setup JDBC connection), you 
indicate the URL where the HSQLDB files (.data; .script; .lck ...) will be 
stored.

Ex : jdbc:hsqldb:F:/HSQLDB/demo_db

OoBase will store the files there, together with the demo_db.odb

If F: is located on an USB device, when you connect your device on an other 
computer where it gets a different driver letter (say H:), you can open 
demo_db.odb file with OoBase. But it will not find the tables, unless you 
manually modify the properties via the menu "Edit/Databse/Properties".
Comment 1 pmelchiobe 2007-09-19 09:29:32 UTC
Created attachment 48320 [details]
Databse Properties
Comment 2 christoph.lukasiak 2007-10-23 15:59:36 UTC
clu->regina: may you try this out (i do not have a pc anymore)

thx
Comment 3 Regina Henschel 2007-10-23 16:48:16 UTC
No, I cannot test it. I haven't got a HSQLDB server. There is no problem with
the embedded database.

I would not expect that using different drive letters works, if JDBC is
organized similar to ODBC. In ODBC on WinXP the connection string contains the
drive letter and you must change it, if you move the tables to another drive. 
But unfortunately I have never used a JDBC Connection, so cannot say anything
about it.
Comment 4 christoph.lukasiak 2007-10-24 13:46:15 UTC
back into pool - if anybody can confirm, please do so

clu->regina: do not assign issues to me, that you could not confirm ;)
Comment 5 drewjensen.inbox 2007-11-13 04:08:52 UTC
I can confirm that this is how it works - not sure there is a problem from
OOoBase point of view.

You can use relative addressing. However, this will be based from where
OpenOffice.org starts from. So, if OpenOffice.org is also on the usb device you
could simply use

jdbc:hsqldb:/hsdldb/demo_db

If OpenOffice.org is not running from the same usb device, I don't know how
exactly you would do this.
Comment 6 christoph.lukasiak 2008-05-07 10:48:12 UTC
=> close