atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
456 stars 139 forks source link

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

Open ponziani opened 1 month ago

ponziani commented 1 month ago

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 commented 3 weeks ago

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