Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

RunDao / RunHibernateEntity don't actually enforce the unique constraint "events_sequences" (event_id, sequence) #181

Description

@carltonwhitehead

Inserting two runs with the same event and sequence should cause a constraint violation. Instead, no violation seems to occur, and both records are inserted successfully.

See RunDaoTest.itShouldThrowWhenEventAndSequenceNotUnique()

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions