mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-25 07:57:39 +00:00
#878 - @AttributeOverride (not wrapped in @AttributeOverrides) is not applied
This commit is contained in:
@@ -62,7 +62,13 @@ public abstract class AnnotationParser extends AnnotationBase {
|
||||
|
||||
propMap.put(propName, columnName);
|
||||
}
|
||||
prop.getDeployEmbedded().putAll(propMap);
|
||||
}
|
||||
|
||||
AttributeOverride attrOverride = get(prop, AttributeOverride.class);
|
||||
if (attrOverride != null) {
|
||||
HashMap<String, String> propMap = new HashMap<>();
|
||||
propMap.put(attrOverride.name(), attrOverride.column().name());
|
||||
prop.getDeployEmbedded().putAll(propMap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user