-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Environment Details
- EclipseStore Version: 3.0.1
- JDK version: 25.0.1
- OS: MacOs
Describe the bug
As per the Eclipse Store documentation an "identity" index type is:
Unique index, which will be used exclusively to identify an entity. It can consist of one or more indexers.
This makes sense and follows the same semantics from the relational RDBMS world (primary key). As identity indexer must also be a unique one - any attempt to insert duplicate keys should result in runtime exception (which I verified is the case for a unique indexer).
This is not happening and identity indexers allow duplicates!
To Reproduce
Code sample attached below
Expected behavior
Exception thrown on duplicate netry attempt to add