db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: 0 byte out for DatabaseIO and fix
Date Mon, 29 Aug 2005 19:01:47 GMT
On 8/29/05, Dan Meany <dan_meany@yahoo.com> wrote:
> Using a small test schema, without the flush() i added
> to DatabaseIO.java below, i always get 0 byte file
> output. i also added a close.
> (Contribution)

Think you're right, it seems that the buffered writer only gets
flushed/closed once the garbage collector finalizes it. I've applied
your patch and enhanced the doc for the other two write methods.


View raw message