Merge pull request #2563 from FOCONIS/platform-specific-columndefinition

Different ColumnDefinition for different platforms
This commit is contained in:
Rob Bygrave authored and GitHub committed 2022-02-22 13:13:43 +13:00
commit 8fa8c687e9
104 files changed
+215 -72

No files matched your search

@@ -992,6 +992,9 @@ public class BeanProperty implements ElPropertyValue, Property, STreeProperty {
*/
public String renderDbType(DbPlatformType dbType, boolean strict) {
if (dbColumnDefn != null) {
if(dbColumnDefn.endsWith(";")) {
return dbColumnDefn + dbType.renderType(dbLength, dbScale, strict);
}
return dbColumnDefn;
}
return dbType.renderType(dbLength, dbScale, strict);