How to insert huge string from file to text field via JDBC ?

From: liuyuanyuan <liuyuanyuan(at)highgo(dot)com(dot)cn>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: How to insert huge string from file to text field via JDBC ?
Date: 2013-08-14 09:29:50
Message-ID: 2013081417294966226913@highgo.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,
Now I need to insert a huge string from a huge file (e.g. a 1 GB text document) to a TEXT type field.
But I don't know any other way to insert string except setString() for preparedStatement.
Anyone know about this, please write to me. Thanks in advance!

Best Wish!

Yours,
Liu Yuanyuan
August 14,2013
--------------
刘媛媛
山东瀚高基础软件股份有限公司
研发中心
QQ:73129616

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2013-08-14 13:55:39 Re: How to insert huge string from file to text field via JDBC ?
Previous Message John R Pierce 2013-08-14 09:26:25 Re: PGConnectionPoolDataSource referencing problem