-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
I don't think we can integrate with Jakarta Transactions considering that's a blocking API.
But we should be able to work with @Transactional within some clear limitations. "Clear" in the sense that we should be able to throw an exception if the user tries to use it improperly. For example, when trying to use Hibernate Reactive with any real transactional resource.
Also, Hibernate Reactive uses different transactions for a Session and a StatelessSession, even if they are in the same transaction scope. This happens without any warning to the user. We could change the behaviour or throws an exception when we detect it.
NOTE: We may want to also handle @QuarkusTransactional, see #50119
NOTE: This is separate from the discussion about allowing to inject HR Session/StatelessSession, see #47462
Metadata
Metadata
Assignees
Labels
Type
Projects
Status