Skip to content

JpaPersistService.begin() throws exception if a Unit of Work is already opened #972

Closed

Description

The implementation of UnitOfWork.begin() within JpaPersistService does not comply with the definition specified in the javadoc.

"If there is already one open, the invocation will do nothing. In this way, you can define arbitrary units-of-work that nest within one another safely."

The above is not true, the implementation throws an exception if "one" is already opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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