Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-22324

Add stateless session marker annotation and detect mixed sessions usage

XMLWordPrintable

    • 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.

              Unassigned Unassigned
              glepage@redhat.com Gwenneg Lepage
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: