diff --git a/README.md b/README.md index d1acad9..df9888c 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Follows a table that roughly maps GomorraSQL language to standard SQL: | <= | <= | ANY WHERE CLAUSE | | >= | >= | ANY WHERE CLAUSE | | sfaccimm | ROLLBACK | TRANSACTION | -| iamme bello ia' | COMMIT | TRANSACTION | +| jamm bell ja' | COMMIT | TRANSACTION | | ua uagliò | BEGIN TRANSACTION | TRANSACTION | ## Supported Database diff --git a/src/main/java/co/aurasphere/gomorrasql/Keywords.java b/src/main/java/co/aurasphere/gomorrasql/Keywords.java index 48a552e..80a8a80 100644 --- a/src/main/java/co/aurasphere/gomorrasql/Keywords.java +++ b/src/main/java/co/aurasphere/gomorrasql/Keywords.java @@ -20,7 +20,7 @@ public class Keywords { public final static String[] ASTERISK_KEYWORDS = { "tutto", "chillo", "ch'era", "'o", "nuostro" }; public final static String WHERE_KEYWORD = "arò"; public final static String[] BEGIN_TRANSACTION_KEYWORDS = { "ua", "uagliò" }; - public final static String[] COMMIT_KEYWORDS = { "iamme", "bello", "ia'" }; + public final static String[] COMMIT_KEYWORDS = { "jamm", "bell", "ja'" }; public final static String ROLLBACK_KEYWORD = "sfaccimm"; public final static String AND_KEYWORD = "e"; public final static String OR_KEYWORD = "o"; diff --git a/src/test/java/co/aurasphere/gomorrasql/TestTransactions.java b/src/test/java/co/aurasphere/gomorrasql/TestTransactions.java index 5cc26df..18c8045 100644 --- a/src/test/java/co/aurasphere/gomorrasql/TestTransactions.java +++ b/src/test/java/co/aurasphere/gomorrasql/TestTransactions.java @@ -63,7 +63,7 @@ public void testTransactionCommit() throws SQLException { } Assert.assertEquals(expectedCount, 2); - gsi.execute("iamme bello ia'"); + gsi.execute("jamm bell ja'"); result = gsi.execute("ripigliammo tutto chillo ch'era 'o nuostro mmiez 'a city arò city_id = 6"); resultSet = result.getResultSet(); expectedCount = 1;