Skip to content

Map value keeps recreating #1063

@VinceCastro

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?

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