You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this great project! I have a question about combining @Transaction annotated methods in my DAO, and @JdbiUnitOfWork methods in resources (that use those methods).
Could this potentially mess up things (two different mechanisms to achieve the same thing)? Or can I keep both?
The text was updated successfully, but these errors were encountered:
Hi @ahalma, apologies for the delay. Turns out I wasn't subscribed to updated on this repository.
Yes, please use just one abstraction. @Transaction will initiate a new handle and not necessarily inherit from @JdbiUnitOfWork as there's no concept of a connection propagation across boundaries. This will most certainly be a recipe for non deterministic bugs.
Thanks for this great project! I have a question about combining
@Transaction
annotated methods in my DAO, and@JdbiUnitOfWork
methods in resources (that use those methods).Could this potentially mess up things (two different mechanisms to achieve the same thing)? Or can I keep both?
The text was updated successfully, but these errors were encountered: