Re: [api-dev] Changes to DB are not persistent

2010-12-21 Thread Bernard Marcelly
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 ques

Re: [api-dev] Changes to DB are not persistent

2010-12-21 Thread oliver
Hi, I'm not a Basic specialist but I guess you must close the DataSource at the end of program. Otherwise the behavior may be undefined. That's the way how it works in Java and I guess also Basic. regards, Oliver Am 21.12.2010 um 13:16 schrieb listsandst...@freenet.de: > Hello, > > I am new