Provide a way to unregister a DataSource in SQLErrorCodesFactory [SPR-15006] #19573
Comments
Juergen Hoeller commented I've added an |
John Poth commented That was quick :) Awesome, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
John Poth opened SPR-15006 and commented
Spring currently caches the datasources and are removed by the Garbage collector once they are no longer used. It would be great to provide a way to allow the user to manually unregister a Datasource and not have to wait until a GC kicks in. This is a problem in OSGI and the current workaround is to get the error codes by Datasource name so the cache isn't used.
So something like:
Would be great!
Affects: 4.3.4
Referenced from: commits 8190e78, b825528
The text was updated successfully, but these errors were encountered: