Skip to content

Map value keeps recreating #1063

Description

@VinceCastro

I have a Map<enum_type, Map<String, my_class>> where the value Map<String, my_class> of any entry I add keeps resetting to a new HashMap.

The DB is created this way:
var db = DBMaker.fileDB(db_path).transactionEnable().make();

whereas the map itself is created this way:
Map<enum_type, Map<String, my_class>> my_map = (Map<enum_type, Map<String, my_class>>) db.hashMap(name).createOrOpen();

What could be the cause of this issue?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions