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

Remove JNDI requirement #916

Merged
merged 7 commits into from
Feb 3, 2023

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Jan 27, 2023

For example in Tomcat the context is read-only (by default at least) and we need to provide the JNDI context datasource from Tomcat. As we don't need JNDI anymore after migrating from Ibatis to Mybatis we could just keep references to BasicDataSource we create and NOT trying to inject them into context (as this is problematic in for example Tomcat). We already keep references to created datasources for teardown purposes.

This should enable bundling in the Postgres/JDBC driver inside the war-file and make for example Azure App Service deployments easier.

@ZakarFin ZakarFin marked this pull request as ready for review January 31, 2023 16:29
@ZakarFin ZakarFin added this to the 2.10.0 milestone Feb 3, 2023
@ZakarFin ZakarFin merged commit 33aec4d into oskariorg:develop Feb 3, 2023
@ZakarFin ZakarFin deleted the remove-jndi-requirement branch February 3, 2023 09:52
@ZakarFin ZakarFin mentioned this pull request Feb 3, 2023
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.

1 participant