Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax Jamm bell ja #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/aurasphere/gomorrasql/Keywords.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down