Re: Still this

Marc Santhoff <[email protected]>
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
Am Donnerstag, den 29.09.2005, 06:07 -0400 schrieb Andrew Jensen:
[...]
> First this. Then there is the fact that when a connection is made to the 
> datasource from
> within basic module it is not automatically closed when the variable 
> referencing it
> goes out of scope. OK, I can see why that would be of course. But there 
> will be
> those that will create it and for one reason or a nother, like a 
> programming error
> never dispose of it.

I personally think a programmer should know what he or she is doing.

Assuming your idea of auto-closing would be implemented you'd have to
deal with the fact that you must re-open a connection any time you want
to use it. I think this would be even more confusing.

The main part here is a typically documentation thing, could you please
file an issue for making clear that a connection *has to be closed after
use* in the docs?

TIA,
Marc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.