Skip to content

Introduce a common superinterface for Session and StatelessSession #3175

@yrodiere

Description

@yrodiere

Hibernate ORM has SharedSessionContract, but Munity.Session/Munity.StatelessSession don't have an equivalent.

See quarkusio/quarkus#51063 (comment) : we'd need at least isOpen() in that contract.

I feel like unwrap, close, and all the methods from QueryProducer are also good candidates.

SharedSessionContract could probably provide other ideas as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions