Re: Some question about statement

From: Daniel Blanch Bataller <dblanch(at)hoplasoftware(dot)com>
To: 张元超 <zhangyuanchao(at)highgo(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Some question about statement
Date: 2015-11-30 06:28:17
Message-ID: 62630FA5-1611-4EBD-B6BC-01780A4E8853@hoplasoftware.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I guess its simply because String fields in postgres can not be larger than 1 GB, long type could represent length values far beyond this limit surpassing postgres limits.

-Daniel

> El 30 nov 2015, a las 6:06, 张元超 <zhangyuanchao(at)highgo(dot)com> escribió:
>
> Hi,
> I have question about statement.Some method that provided by JAVA API were not implemented in postgresql jdbc.
> I focus on method named ‘setCharacterStream(int parameterIndex, Reader value, long length)’,it was not implemented,but
> ‘setCharacterStream(int i, java.io.Reader x, int length)’ was implemented.The different between them is the type of the third
> parameter. I don’t know why the first method was not implement,because the column can not store the ‘value’ whoes length
> is the ‘length’? Or other reason? Thank you.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2015-11-30 06:30:06 Re: Some question about statement
Previous Message 张元超 2015-11-30 06:27:49 答复: [JDBC] Some question about statement