Commit b33c5688 authored by Danilo Trombino's avatar Danilo Trombino
Browse files

[Fix] Dataset management with long column field

parent 99b08da8
......@@ -76,7 +76,7 @@ public class MySQLDataBase extends AbstractDataBase implements CacheDataBase, Me
toReturn = " MEDIUMBLOB ";
} else if ((javaTypeName.contains("java.lang.String") && getVarcharLength() > MAX_VARCHAR_VALUE) || javaTypeName.contains("[C")
|| javaTypeName.contains("CLOB") || javaTypeName.contains("JSON") || javaTypeName.contains("Map") || javaTypeName.contains("List")) {
toReturn = " TEXT ";
toReturn = " LONGTEXT ";
} else {
toReturn = " TEXT ";
logger.error("Cannot map java type [" + javaTypeName + "] to a valid database type. Set TEXT by default ");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment