Ok, they'll be a similar one for execute_update_not_applicable (for an attempt to execute a query with executeUpdate)

On Feb 10, 2013, at 8:45 PM, "Tony Huang" <notifications@github.com<mailto:notifications@github.com>> wrote:


In src/main/java/com/salesforce/phoenix/jdbc/PhoenixStatement.java:

> @@ -144,7 +146,8 @@ public boolean execute() throws SQLException {
>
>          @Override
>          public int executeUpdate() throws SQLException {
> -            throw new SQLException("executeUpdate may not be used for queries: " + this);


I make a new enum called "EXECUTE_QUERY_NOT_APPLICABLE" for that purpose.

—
Reply to this email directly or view it on GitHub<https://github.com/forcedotcom/phoenix/pull/35/files#r2957304>..