java.sql.SQLException: ERROR: parser: unterminated quoted string at or near "'<html>
От
Timo Nentwig
Тема
java.sql.SQLException: ERROR: parser: unterminated quoted string
at or near "'<html>
Дата
Msg-id
1062002757.3827.47.camel@tcn.local
Список
Дерево обсуждения
java.sql.SQLException: ERROR: parser: unterminated quoted string
at or near "'<html> Timo Nentwig <timo@nitwit.de>
Re: java.sql.SQLException: ERROR: parser: 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
В списке pgsql-advocacy по дате отправления