Marc Santhoff wrote:
Am Donnerstag, den 14.02.2008, 23:31 +0100 schrieb Ocke Janssen - Sun
Microsystems Inc.:
Marc Santhoff schrieb:
Am Donnerstag, den 14.02.2008, 07:42 +0100 schrieb Ocke Janssen - Sun
Microsystems Inc.:

[...]

         xTrans->commit();
I hope this helps a little bit.
It does, and it's more than I expected to get to make a start. :)

Can I assume that base will only care for documents and storages it
created itself and anything else will/should not disturb the normal
work?
Yes, of course ;-) You create it, you own it and you have to delete it ;-)

Okay, that's working. :)

Some questions are open, though:

When I aquire a "XDocumentSubStorageSupplier" from BASIC using
"document.getDocumentSubStorage()", do I have to dispose it? Trying made
no difference, but I'm unsure if it is needed and if the BASIC
interpreter does automatically after running the code.

And the same question for other (bridged) scripting languages, e.g.
using Java, do I have to dispose the retrieved storage container? Or is
it owned by the document model?
It depends on the sub storage you are using. When using your own, you should dispose it when you no longer need it.

- oj
TIA,
Marc



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Ocke Janssen                      Tel: +49 40 23646 661, x66661
Dipl. Inf(FH)                     Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55                     mailto:[EMAIL PROTECTED]
D-20097 Hamburg                   http://www.sun.com/staroffice

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to