pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: liuyuanyuan <liuyuanyuan@highgo.com.cn>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: How to insert huge string from file to text field via JDBC ?
Date: Wed, 14 Aug 2013 17:29:50 +0800
Message-ID: <2013081417294966226913@highgo.com.cn> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc


view thread (4+ messages)  latest in thread

Message-ID: <2013081417294966226913@highgo.com.cn>
Permalink:  ../2013081417294966226913@highgo.com.cn/
Also on:    postgresql.org/message-id/2013081417294966226913@highgo.com.cn

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: liuyuanyuan@highgo.com.cn
  Subject: Re: How to insert huge string from file to text field via JDBC ?
  In-Reply-To: <2013081417294966226913@highgo.com.cn>
  References: <2013081417294966226913@highgo.com.cn>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox