calcite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jh...@apache.org
Subject [2/2] calcite git commit: Following [CALCITE-1230], deprecate SqlStateCodes
Date Mon, 06 Jun 2016 20:16:28 GMT
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/master
Commit: e77b86638cc85fe58784c447619a8d4bef9f3940
Parents: 2bee6ef
Author: Julian Hyde <jhyde@apache.org>
Authored: Fri May 6 12:05:50 2016 -0700
Committer: Julian Hyde <jhyde@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"),
 


Mime
View raw message