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

Package com.atomikos.jdbc.internal should be added to Export-Package in osgi.bnd #219

Open
ponziani opened this issue Jun 19, 2024 · 1 comment

Comments

@ponziani
Copy link

Describe the bug

When using the init()-method on a AtomikosDataSourceBean-instance a com.atomikos.jdbc.internal.AtomikosSQLException might be thrown, but that package is not correctly exported for OSGi.

To Reproduce

TransactionsEssentials 5.0.9

Additional context
The package should be added to Export-Package in osgi.bnd, or the AtomikosSQLException could be moved to a package which is correctly exported.

@pascalleclercq
Copy link
Contributor

Internal packages are supposed to be internal (not exported). An alternative solution would be to move AtomikosSQLException to a non internal package

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

No branches or pull requests

2 participants