Subject | Insert StringBuffer into BLOB SUB_TYPE 1 |
---|---|
Author | Thomas Steinmaurer |
Post date | 2008-01-14T11:34:18Z |
Hello,
is it safe to insert a largish (possibly > 1MB) amount of data from a
StringBuffer into a BLOB SUB_TYPE 1 field by using the following?
ps.setString(2, xml.toString());
where ps is a PreparedStatement and xml is a StringBuffer? Or do I have
to use some kind of streaming?
Thanks,
Thomas
is it safe to insert a largish (possibly > 1MB) amount of data from a
StringBuffer into a BLOB SUB_TYPE 1 field by using the following?
ps.setString(2, xml.toString());
where ps is a PreparedStatement and xml is a StringBuffer? Or do I have
to use some kind of streaming?
Thanks,
Thomas