mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#693 - ENH: Add support for mapping @DbJson to list of scalar types like List<String>
This commit is contained in:
1 parent
8c86976e68
commit
2c95d9dc9a
30 files changed
+524
-98
No files matched your search
@@ -984,11 +984,11 @@ public class BeanProperty implements ElPropertyValue, Property {
|
||||
/**
|
||||
* Return the DB column type definition.
|
||||
*/
|
||||
public String renderDbType(DbType dbType) {
|
||||
public String renderDbType(DbType dbType, boolean strict) {
|
||||
if (dbColumnDefn != null) {
|
||||
return dbColumnDefn;
|
||||
}
|
||||
return dbType.renderType(dbLength, dbScale);
|
||||
return dbType.renderType(dbLength, dbScale, strict);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user