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

[SQLLINE-394] Make script engine configurable via property #422

Closed
wants to merge 2 commits into from

Conversation

snuyanzin
Copy link
Collaborator

The PR introduces a new property scriptEngine to specify which script engine to use (from those which are available via spi).

Each script engine could have plenty of names and these names could be intersected across multiple script engines. To cope with it sqlline uses for autocompletion only those which are not referring to multiple engines and to reduce multiple names it uses only one name per engine.

a short demo of how it works https://asciinema.org/a/382251?speed=3.0

will allow to switch to a different script engine for java15+ and cope with #394

@snuyanzin snuyanzin changed the title [SQLLINE-394] Make script engine configurable via proxy [SQLLINE-394] Make script engine configurable via property Jan 2, 2021
@snuyanzin snuyanzin deleted the SQLLINE-394 branch April 22, 2021 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant