<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 42: Helpful error message when attempting DELETE/INSERT/UPDATE</title><link>https://sourceforge.net/p/csvjdbc/support-requests/42/</link><description>Recent changes to 42: Helpful error message when attempting DELETE/INSERT/UPDATE</description><atom:link href="https://sourceforge.net/p/csvjdbc/support-requests/42/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 10 Dec 2015 19:16:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/csvjdbc/support-requests/42/feed.rss" rel="self" type="application/rss+xml"/><item><title>Helpful error message when attempting DELETE/INSERT/UPDATE</title><link>https://sourceforge.net/p/csvjdbc/support-requests/42/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Report a helpful error message if user attempts to use a DELETE, INSERT or UPDATE SQL statement with CsvJdbc.&lt;/p&gt;
&lt;p&gt;Currently, &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;stmt.execute("DELETE FROM sample");
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;throws the following unhelpful SQLException&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;java.sql.SQLException: Syntax error: Encountered " &amp;lt;NAME&amp;gt; "DELETE "" at line 1, column 1.
Was expecting:
"SELECT" ...

at org.relique.jdbc.csv.CsvStatement.execute(CsvStatement.java:559)
at org.relique.jdbc.csv.Runner1.main(Runner1.java:33)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;and INSERT and UPDATE throw similarly unhelpful SQLExceptions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Chenery</dc:creator><pubDate>Thu, 10 Dec 2015 19:16:58 -0000</pubDate><guid>https://sourceforge.neta03410eb93bf81aadc03cd3e2498b0685eb62e8d</guid></item></channel></rss>