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

Connection to database during compilation #115

Open
brosland opened this issue Jul 6, 2014 · 1 comment
Open

Connection to database during compilation #115

brosland opened this issue Jul 6, 2014 · 1 comment
Labels
Milestone

Comments

@brosland
Copy link

brosland commented Jul 6, 2014

Please add some simple way to create connection to database during compilation.

@fprochazka
Copy link
Member

There should be a method getConnection() on the OrmExtension that will use the configuration, manually create the Connection instance and provide it.

A bonus would be to reuse the created connection and pass the instance to compiled SystemContainer after the compilation is finished (so it doesn't have to disconnect and connect again)

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

No branches or pull requests

2 participants