@Retention(value=RUNTIME) @Target(value=FIELD) public @interface EmbedMap
This annotation causes Map fields to be stored as an embedded structure similar to how @Embed works; for a field 'someMap', the entity will contain 'someMap.key1', 'someMap.key2', etc.
The field must be of type Map with a key of String.
Map
Copyright © 2014. All rights reserved.