-
Task
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
False
-
None
Low priority.
As discussed in notifications-backend#809, we could have a marker annotation to identify the methods that rely on the Hibernate Reactive stateless session. That annotation would use RetentionPolicy.SOURCE because it wouldn't be needed at run time.
It could even be used to perform some compile time validation and make sure we do not mix the stateful and stateless sessions in a single unit of work.