Hello, Message de listsandst...@freenet.de date 2010-12-21 13:16 :
The code is adding a row to a database (Base-Document with embedded HSQL-DB) every time it gets called. However the changes are lost after closing OOO. To make them permanent it's necessary to flush() the DataSource. First question: This is not exspected bahaviour, is it? Changes should be persistently saved without calling flush(), or am I wrong?
I don't see in your code a correct closure of the connection. Connection.close Connection.dispose In my experience, flush is not necessary. Regards Bernard --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org