mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#115 - Mapping - Add support for @ElementCollection enhancement
Add simple Map support with Json
This commit is contained in:
@@ -28,7 +28,7 @@ public class BeanCollectionHelpFactory {
|
||||
case SET:
|
||||
return elementCollection ? new BeanSetHelpElement<>(many) : new BeanSetHelp<>(many);
|
||||
case MAP:
|
||||
return new BeanMapHelp<>(many);
|
||||
return elementCollection ? new BeanMapHelpElement<>(many) :new BeanMapHelp<>(many);
|
||||
default:
|
||||
throw new RuntimeException("Invalid type " + manyType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user