Using of ConcurrentHashMap as attribute



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

Your web site 'Object Model & Data Types' has no guidelines about this data type.

Best regards


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