Skip to content

GigaMap IdentityIndexer bug? #515

@hrstoyanov

Description

@hrstoyanov

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

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