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

Add helper functions to interactively setup SQL connection #29

Closed
stardiviner opened this issue Mar 11, 2017 · 3 comments
Closed

Add helper functions to interactively setup SQL connection #29

stardiviner opened this issue Mar 11, 2017 · 3 comments

Comments

@stardiviner
Copy link
Contributor

Hope ejc-sql can create a universal helper function to help user setup SQL connection interactively.

For example, a command ejc-sql-connect-to-sql,

  1. it will show the stored connections in persistent when no input yet.
  2. After user input some characters like sqlite
  3. if has match connection, then select it to connect.
  4. if has no match connection, then create a new connect with the inputted string.
  5. then interactively prompt user to input parameters of the connection, even auto show the available SQL JDBC drivers in available possible paths like ~/.m2/.
@kostafey
Copy link
Owner

Note: related pull request #84 (rejected but contains useful conversation).

@kostafey
Copy link
Owner

kostafey commented May 30, 2019

@stardiviner, Ok looks like the feature is implemented.
See description in README: https://github.com/kostafey/ejc-sql#create-connections-interactively
I hope that the creation process is simple enough that the user can be not familiar with Java & JDBC to configure a connection. The required JDBC driver will be automatically resolved and downloaded (if not yet) for the selected database type. Manual installation is not required for interactive-configured connections.

kostafey added a commit that referenced this issue May 31, 2019
@stardiviner
Copy link
Contributor Author

This is awesome!!! Thanks @kostafey. Much better than my simple and rough implementation.

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

No branches or pull requests

2 participants