Re: INSERTINg a Clob in a portable way
- From: Frank Meyer <f.meyer@xxxxxxxxxxxx>
- Date: Wed, 15 Aug 2007 14:04:20 +0200
Thomas Kellerer wrote:
File f = new File("sourcfile.txt");
Reader r = new InputStreamReader(new FileInputStream(f), "UTF-8");
preparedStatement.setCharacterStream(1, r, f.length());
Hi Thomas,
have a look at http://java.sun.com/mailers/techtips/corejava/2007/tt0207.html#1
where this issue may be clarified.
Frank
.
- Follow-Ups:
- Re: INSERTINg a Clob in a portable way
- From: Thomas Kellerer
- Re: INSERTINg a Clob in a portable way
- References:
- INSERTINg a Clob in a portable way
- From: Thomas Kellerer
- INSERTINg a Clob in a portable way
- Prev by Date: Re: INSERTINg a Clob in a portable way
- Next by Date: Re: INSERTINg a Clob in a portable way
- Previous by thread: Re: INSERTINg a Clob in a portable way
- Next by thread: Re: INSERTINg a Clob in a portable way
- Index(es):