-
We are using reasteasy-reactive imperatively and we have a Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I ended up converting this filter to a CDI interceptor that takes part in the controller transaction automatically. The alternative would have been to start a transaction manually in a Thanks @geoand for the support! |
Beta Was this translation helpful? Give feedback.
I ended up converting this filter to a CDI interceptor that takes part in the controller transaction automatically.
The alternative would have been to start a transaction manually in a
ContainerRequestFilter
and commit it in aContainerResponseFilter
.Or if two transactions are not a problem, simply annotating the filter with
@Transactional
could also do the trick (haven't tried).Thanks @geoand for the support!