Thanks Oliver
The conn.commit() sloved my problems !
Oliver Jowett wrote:
> GP wrote:
>
>> I tried both of them BUT
>> The first one throw an OutofMemoryException for files > 1.5 Mbyte (is
>> this some kind of bug ??)
>
>
> It's a known issue. There are patches pending to fix it that will
> hopefully be applied soon. A workaround is to increase your JVM's heap
> size.
>
>> And the second one doesn't throw any Exception or Error but it does
>> NOT write anything in the database !!
>
>
> It looks like it's missing a conn.commit() call at the end, so none of
> the changes will actually be committed..
>
> -O