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

[BUG] JSQLParser fetch next statement can't support name parameter parser #1739

Closed
gderemetz opened this issue Mar 6, 2023 · 3 comments · Fixed by #1740
Closed

[BUG] JSQLParser fetch next statement can't support name parameter parser #1739

gderemetz opened this issue Mar 6, 2023 · 3 comments · Fixed by #1740
Assignees
Labels

Comments

@gderemetz
Copy link

Failing SQL Feature:

fetch next statement can't support name parameter parser

SQL Example:

SELECT table_schema 
FROM information_schema.tables 
fetch next :variable rows only;

Software Information:

  • JSqlParser version : 4.6
  • Database : Oracle
@manticore-projects
Copy link
Contributor

Greetings.

https://jsqlparser.github.io/JSqlParser/syntax.html#fetch

Good catch, it seems to support SimpleParameter only -- which is a mistake of course.
I will correct it, thanks for reporting.

@gderemetz
Copy link
Author

thank you for the quick response
Can you give me an estimate of how long it will take to fix the bug?

@manticore-projects
Copy link
Contributor

I'll do that tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants