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

Open
lukaseder opened this Issue Apr 15, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@lukaseder
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


This is also needed for #4092 and #4311

@lukaseder

This comment has been minimized.

Show comment
Hide comment
@lukaseder

lukaseder Apr 17, 2015

Member

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

Member

lukaseder commented Apr 17, 2015

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

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