[Libreoffice-bugs] [Bug 51781] Select a good replacement for embedded HSQLDB 1.8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 7 08:00:37 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51781

--- Comment #2 from Lionel Elie Mamane <lionel at mamane.lu> 2012-07-06 23:00:37 PDT ---
(In reply to comment #1)
>> * update to HSQLDB 2.2:
>>    - problems with descending compatibility (opening new files with old LibO)

> Why would anyone want to/need to open a new file with an old LibO version?

For example because one is using an older version and one gets sent an .odb
file. Or because one has an older version on one computer and a newer version
on another computer (e.g. different distros or versions of the same distro:
Ubuntu LTS on one, and Ubuntu latest bleeding edge on the other), and one wants
to access the same file with both computers.

>>    - do we have to keep 1.8 *and* 2.2 in LibO to solve descending
>>      compatibility?

> HSQLDB 2.2 is backwards compatible, so I cannot see any need to keep 1.8. To
> create "old" files?

It has only ascending compatibility: it can open files created with 1.8, but it
silently upgrades them to 2.0 format. This means that any file merely opened
with a "new" LibreOffice (no change made) cannot any more be opened  with older
LibreOffice. That would be rather onerous.

>>    - keeps a hard Java dependency

> Doesn't LibO not anyway require JRE?

LibO requires a JRE only for some features.

We are trying to minimise the features that require a JRE; there is no plan to
remove support for writing extensions in Java and for controlling / scripting a
LibO instance from Java. AFAIK Base is the last holdout that needs a JRE for
basic/core features.

As soon as Java (running the Oracle implementation) is involved, debugging
becomes much harder, because of the mix of C(++) and Java code calling each
other.

> I do not know any computer in my surroundings
> that does not have JRE installed.

Surroundings differ. Many people don't know any computer in their surroundings
that does not have Microsoft Windows installed. Personally, on my home
computers, and all computers in my office, LibO is the only reason there is a
JRE.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list