14 messages in org.openoffice.fr.progRe: [prog] Auto-installer une BDD SQLite
FromSent OnAttachments
Yves ChaufourJun 27, 2004 12:57 pm 
Yves ChaufourJun 27, 2004 1:39 pm 
JovialJun 27, 2004 1:40 pm 
ARGENTE Jean LouisJun 27, 2004 2:57 pm 
Tony GALMICHEJun 28, 2004 3:46 am 
Yves ChaufourJun 28, 2004 12:48 pm 
Yves ChaufourJun 28, 2004 1:11 pm 
Tony GALMICHEJun 28, 2004 10:59 pm 
ARGENTE Jean LouisJun 29, 2004 10:36 am 
ARGENTE Jean LouisJun 29, 2004 1:28 pm 
Yves ChaufourJun 30, 2004 12:23 pm 
ARGENTE Jean LouisJun 30, 2004 5:38 pm 
Sophie GautierJul 1, 2004 12:12 am 
Yves ChaufourJul 1, 2004 12:06 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Auto-installer une BDD SQLiteActions...
From:ARGENTE Jean Louis (jl.a@laposte.net)
Date:Jun 29, 2004 10:36:58 am
List:org.openoffice.fr.prog

Le lun 28/06/2004 à 21:48, Yves Chaufour a écrit :

Le dimanche 27 Juin 2004 23:57, ARGENTE Jean Louis a écrit :

Bonsoir,

Juste une petite remarque, il semblerait que le choix d une BDD incorporee a OOo 2.0 puisse etre HSQLDB.

Merci pour cette info. Je viens d'aller voir les messages s'y rapportant sur [dev-fr]. Je vais essayer de m'intéresser à HSQLDB, peut-être est-ce encore mieux que SQLite ?

Il semble que ce soit un tres bon produit, ce qui est un peu genant c est le fait qu en mode partage (serveur) le resultat des requetes doit tenir en memoire (ou il faut jongler :(). Mais pour le responsable de dba ce qui passe en premier c est l usage en mode local qui n a pas cette limitation.

Au fait, quelqu'un a-t'il déjà utilisé HSQLDB avec OOo ? De quoi a-t'on besoin pour s'en servir ?

Pas encore eu le temps de tester, j avoue ne pas etre presse et attendre la decision d incorporation a la 2.0.

L "affaire" n est pas completement verouillee, mais si OOo 2.0 incorpore, d origine, une BDD, ce sera HSQLDB ou rien d autre (une question de performances, de simplicite d install, de Java ;) et de temps. Mais ce choix ne changera rien aux possibilites d interfacage de OOo avec d autres BDD; voir discussions sur la liste Marketing et sur dev-fr).

Donc, ça vaut peut-être malgré tout le coup de continuer à "gratter" un peu du côté de SQLite.

Bien sur, ce n etait qu une info, car je ne sais pas tres exactement ou vous voulez aller avec SQLite.

N'oublies pas que c'est parce qu'on (les utilisateurs d'OOo) s'y est intéressé, que le développeur du driver odbc pour SQLite a fait évoluer son driver pour résoudre les pb rencontrés avec OOo ...

Je me demande donc, si vos questions au sujet de SQLite sont "au gout du jour" ou plutot de demain ;))

Le choix et la diversité sont l'une des forces du libre, non ?

Absolument !

Pour info, voila un des dernier post, a ce sujet, du responsable de dba sur Marketing (un peu long mais interessant):

================================================== Hello Alex,

- a rather unusual type concept: http://www.sqlite.org/datatypes.html Note that I am not judging this concept here, I just say that it's unusual, and would require some effort to ensure that the rest of

OOo

The problem for OO.o would possibly be more in the way that SQLite allows the storage of any data type in any part of the table *regardless of the defined type for that field*.

Yes. Not sure which side effects this may unveil - that's why it's "a certain risk".

- no support for BLOBs (except in a way which requires additional effort on OOo side to implement it properly)

I'm assuming you are referring to the ability to store a BLOB in a text (or int) field. The latest version does boast support for BLOBs however...

The documentation said that BLOBs can only be stored if encoded, since you have to transport the BLOB as string.

- no support for ALTER TABLE

Not sure about that one...

http://www.sqlite.org/faq.html#q13

However, I did notice an announcement on the Documentation list where someone announced that they had added a HOW-TO on using SQLite with OO.o. That might be worth checking out, as it could help supply a little more info for you (obviously the writer has had it working...).

It's not the problem of getting an out-of-the-box SQLite running with OOo - I have this on my machine, too.

It's that we think it did not fit our particular purpose: modifyable (within a limited time frame) so that it can store its data into our database files, and having a certain set of functionalities.

Again: The architecture for this is planned in a way that later on, we can extend the feature with other database types to embed, even in a way that a package released long after OOo 2.0 can be deployed for OOo 2.0, refitting it with this new type [1]. For the moment, we decided to go for HSQLDB since it seemed more managable for this purpose.

And: It's not even clear whether we will be able to do this 'til OOo 2.0. The reason is that a goal we definately have is that any changes we do to the HSQLDB code base (to allow it storing data in virtual file systems, so we can re-route it to our database files) must be in a shape that they're accepted by the project when contributed back. The mid-term goal is that people can simply download the newest HSQLDB and use it with OOo, instead of downloaing a specialized HSQLDB-for-OOo version (bwt, this requirement would apply in exactly the same way if we'd go for SQLite).

This implies more work than a small and dirty solution, and when weighting priorities for a 2.0, we definately want to have one *working* feature (namely the new DB application) instead of two features (DB app and HSQLDB integration) which are only half working.

Thus, it may be that everything I said becomes groundless - for a post-2.0 version, decisions may be made on a completely different basis.

Ciao Frank

[1] In fact, SQLite would be my (personal) next choice, if we happen to do this (but it may be even done by "external" developers, there's no technical need at all for us Hamburg-based Sun-paid people doing this).

Jean Louis