Added missing SQL keywords
authorLaxmi Lal Menaria <menarialaxmilal@gmail.com>
Tue, 30 Aug 2016 20:43:59 +0000 (13:43 -0700)
committerkaspersorensen <i.am.kasper.sorensen@gmail.com>
Tue, 30 Aug 2016 20:43:59 +0000 (13:43 -0700)
Closes #127

jdbc/src/main/java/org/apache/metamodel/jdbc/SqlKeywords.java

index 7ffb6c9..4e50679 100644 (file)
@@ -58,6 +58,13 @@ class SqlKeywords {
         KEYWORDS.add("DELETE");
         KEYWORDS.add("AND");
         KEYWORDS.add("OR");
+        KEYWORDS.add("BEGIN");
+        KEYWORDS.add("END");
+        KEYWORDS.add("COLUMN");
+        KEYWORDS.add("TABLE");
+        KEYWORDS.add("SCHEMA");
+        KEYWORDS.add("DATABASE");
+        KEYWORDS.add("CAST");
     }
 
     public static boolean isKeyword(String str) {