-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SET ...
statement not supported
#1945
Labels
Comments
manticore-projects
changed the title
[BUG] JSQLParser Version :4.7 : Failing to parse informix isolation level statement
[BUG] JSQLParser Version :4.7 : Informix Apr 8, 2024
SET ... TO ... ...
not supported
Greetings. With latest JSQLParser-4.10 Snapshot, you can parse your RDBMS specific statement like: String sqlStr = "set isolation to dirty read;";
Statement statement = CCJSqlParserUtil.parse(
sqlStr,
parser -> parser.withUnsupportedStatements(true) );
Assertions.assertInstanceOf(UnsupportedStatement.class, statement);
TestUtils.assertStatementCanBeDeparsedAs(statement, sqlStr, true); This should be good enough for anything, that is not a Query or a DML or a standard compliant DDL -- unless there was a very strong reason to access the details of the statement. |
manticore-projects
changed the title
[BUG] JSQLParser Version :4.7 : Informix
[BUG] Informix Apr 18, 2024
SET ... TO ... ...
not supportedSET ... TO ... ...
not supported
This was referenced Apr 18, 2024
Closed
manticore-projects
changed the title
[BUG] Informix
May 1, 2024
SET ... TO ... ...
not supportedSET ...
statement not supported
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Informix and JSQParser to parse the SQL statements.:
set isolation to dirty read;
The text was updated successfully, but these errors were encountered: