On 15 December 2015 at 02:52, Thomas Kellerer <spam_eater@gmx.net> wrote:
The Postgres JDBC documentation regarding the use of setBinaryStream() for bytea columns states[1]:
The length parameter to setBinaryStream must be correct. There is no way to indicate that the stream is of unknown length. If you are in this situation, you must read the stream yourself into temporary storage and determine the length.
I think this is no longer correct. Build 1200 introduced the ability to do just that[2]: