ObjectDB ObjectDB

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

edit
delete
#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
edit
delete

Reply

To post on this website please sign in.