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

Detect changed for JNDI datasource which using jndi: prefix #1025

Merged

Conversation

phongphan
Copy link
Contributor

The jndi: prefix was added at #441.
But the changed() might not be detected when calling onApplicationStart in DBPlugin.java (it will return false if db.url and db.driver is not configured). And the datasource with jndi: prefix will not be initialized and not been added to DB.datasources.

@asolntsev asolntsev merged commit 29ea622 into playframework:1.4.x Nov 13, 2016
@phongphan
Copy link
Contributor Author

This issue also exists in 1.2.x, 1.3.x, and play1 master. Do you have plan to backport this fixed? Or Could I open separate PRs to each branch (I am more than happy to do it)?

Since there are not much Glassfish users. And I only use 1.4

@asolntsev
Copy link
Contributor

Hi @phongphan !
It's easier for me to merge 3 separate PRs. Thank you in advance.

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.

3 participants