DbColumDefault must be returned although if individual columnDefinition is specified (cases no DDL change)

We support optional platform columnDefinitions now. E.g. "db2;clob(64M);" - so we must not ignore @DbDefault for all other platforms
This commit is contained in:
Roland Praml committed 2022-03-17 13:07:52 +01:00
1 parent 37ab71cb7c
commit eb1ed0bdd0
1 file changed
+1 -1
@@ -1004,7 +1004,7 @@ public class BeanProperty implements ElPropertyValue, Property, STreeProperty {
* Return the DB column default to use for DDL.
*/
public String dbColumnDefault() {
return dbColumnDefn != null ? null : dbColumnDefault;
return dbColumnDefault;
}
/**