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

Add a way to register Array, Blob, Clob, SQLXML types for freeing on close() #4205

Closed
lukaseder opened this issue Apr 15, 2015 · 2 comments
Closed

Comments

@lukaseder
Copy link
Member

lukaseder commented Apr 15, 2015

When implementing custom Bindings, users may need to create temporary LOBs or other objects that need to be free()-d after usage. Ideally, these free() calls will take place right before the Connection is closed (i.e. returned to the pool), or when the transaction ends.

The jOOQ Configuration should expose some sort of ResourceManager, that handles these things. jOOQ would then also use this new type internally, instead of the existing ThreadLocal workarounds in DefaultExecuteContext


@lukaseder
Copy link
Member Author

Moving this to 3.7.0. The newly added #231 BlobBinding and ClobBinding implementations can still use the internal DefaultExecuteContext API for registering resources in a ThreadLocal

@lukaseder
Copy link
Member Author

This has been implemented through #7591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant