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

default JDBC config? #2506

Closed
scottdraves opened this issue Sep 27, 2015 · 3 comments
Closed

default JDBC config? #2506

scottdraves opened this issue Sep 27, 2015 · 3 comments

Comments

@scottdraves
Copy link
Contributor

Is there a way to have a default database for all the SQL cells in a notebook?

The "Data sources" field in the Language Manager allows me to define names which are then used like %%beakerDB = H2MemDB2. but then still every cell needs %%beakerDB something.

There should either be another field for the default source, or if you enter a line in Data sources that does not have an "=", then it would be the default. Or am I just missing how to do this?

@scottdraves scottdraves added this to the v1.4 milestone Sep 27, 2015
@ildipo ildipo assigned maksim-lauryk and unassigned ildipo Sep 28, 2015
@maksim-lauryk
Copy link

in current realisation we have three ways for defined data source, e.g:
%%beakerDB="jdbc:h2:mem:db1"
-- loading of connection string from plugin settings
%%beakerDB = H2MemDB2
-- load connection string from beaker object
%%beakerDB=${H2MemDB2}

There's not any way for setup default notebook data source, but it can be realized if necessary.

@ildipo
Copy link
Collaborator

ildipo commented Sep 28, 2015

Please add a default database option in the language manager

@scottdraves
Copy link
Contributor Author

new field should be "Default data source"
current field should be renamed "Named data sources"

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

3 participants