Thank you now it's working fine, I should have a look into the code, I just don't understand how the database process manage to access the filesystem .
I thought I was aware of the binary data handling with jdbc
http://jdbc.postgresql.org/documentation/81/binary-data.html, I've probably got something new to learn :)
Thomas