Home » Support » Forum » Using of ConcurrentHashMap as attribute

Using of ConcurrentHashMap as attribute

#1

Hello,

it is possible to use an entity attribute of type java.util.concurrent.ConcurrentHashMap

Your web site http://www.objectdb.com/object/db/database/features 'Object Model & Data Types' has no guidelines about this data type.

Best regards

#2

You can persist a Map field holding a ConcurrentHashMap instance but it will be loaded as java.util.HashMap when the entity is retrieved from the database.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login