You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2016/06/06 18:32:09 UTC

[4/4] calcite git commit: Following [CALCITE-1230], deprecate SqlStateCodes

Following [CALCITE-1230], deprecate SqlStateCodes


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/e77b8663
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/e77b8663
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/e77b8663

Branch: refs/heads/branch-1.8
Commit: e77b86638cc85fe58784c447619a8d4bef9f3940
Parents: 2bee6ef
Author: Julian Hyde <jh...@apache.org>
Authored: Fri May 6 12:05:50 2016 -0700
Committer: Julian Hyde <jh...@apache.org>
Committed: Mon Jun 6 11:14:18 2016 -0700

----------------------------------------------------------------------
 core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/e77b8663/core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java b/core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java
index 5753f47..d4fe7e9 100644
--- a/core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java
+++ b/core/src/main/java/org/apache/calcite/sql/SqlStateCodes.java
@@ -22,7 +22,10 @@ package org.apache.calcite.sql;
  * <p>SQL State codes are defined in
  *
  * <pre><code> &#64;sql.2003 Part 2 Section 23.1</code></pre>
+ *
+ * @deprecated Use {@code org.apache.calcite.avatica.SqlState}
  */
+@Deprecated // will be removed before 2.0
 public enum SqlStateCodes {
   CARDINALITY_VIOLATION("cardinality violation", "21", "000"),