mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#695 - ENH: Add @DbArray for storing scalar types (UUID, Long, String) to Postgres ARRAY type
This commit is contained in:
1 parent
2bb39b02d0
commit
b197d8a637
53 files changed
+1102
-229
No files matched your search
@@ -1367,7 +1367,7 @@ public class BeanProperty implements ElPropertyValue, Property {
|
||||
|
||||
DocPropertyType type = scalarType.getDocType();
|
||||
DocPropertyOptions options = docOptions.copy();
|
||||
if (DocPropertyType.ENUM == type || isStringId(type)) {
|
||||
if (DocPropertyType.UUID == type || DocPropertyType.ENUM == type ||isStringId(type)) {
|
||||
options.setCode(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user