java.sql.SQLException: ERROR: parser: unterminated quoted string at or near "'<html>
java.sql.SQLException: ERROR: parser: unterminated quoted string at or near "'<html>
От:
Timo Nentwig <timo@nitwit.de>
Дата:
Hi!
I download a web page and store the HTML in a String which I want to
insert:
PrepatedStatement p = new PreparedStatemetn("INSERT blah INTO (one, two,
three) VALUES (?, ?, ?)");
p.setString(1, htmlstring);
p.setTimestamp(2, t);
...
p.executeUpdate();
This throws an java.sql.SQLException: ERROR: parser: unterminated
quoted string at or near "'
What am I doing wrong??
Thanks
Timo
--
uggc://avgjvg.qr
Re: java.sql.SQLException: ERROR: parser:
От:
Timo Nentwig <timo@nitwit.de>
Дата:
On Wed, 2003-08-27 at 18:45, Timo Nentwig wrote: > This throws an java.sql.SQLException: ERROR: parser: unterminated > quoted string at or near "' The problem is a character of value 0 (ASCII: NUL) at the end of the string. -- uggc://avgjvg.qr