ObjectDB ObjectDB

Why can't we persist an object with a field of type EnumMap in ObjectDB?

#1

Hi,

Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB?

but it works fine for fields like = HashMap<EnumType,Double>

Thanks

EKK

edit
delete
#2

You can persist any Serializable type if you enable this ability in the configuration.

But using this feature is not recommended. ObjectDB provides better support (i.e. more efficient and portable) for specific types (including collections and maps), based on the JPA specification.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.