[#3831] <dateAsTimestamp/> deprecation warning is displayed even if the
flag is not active
This commit is contained in:
parent
77ab36a09b
commit
b0b04d753a
@ -341,7 +341,7 @@ public class GenerationTool {
|
||||
|
||||
if (d.getEnumTypes().size() > 0)
|
||||
log.warn("DEPRECATED", "The configuration property /configuration/generator/database/enumTypes is experimental and deprecated and will be removed in the future.");
|
||||
if (d.isDateAsTimestamp() != null)
|
||||
if (Boolean.TRUE.equals(d.isDateAsTimestamp()))
|
||||
log.warn("DEPRECATED", "The configuration property /configuration/generator/database/dateAsTimestamp is deprecated as it is superseded by custom bindings and converters. It will thus be removed in the future.");
|
||||
|
||||
if (d.isDateAsTimestamp() != null)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user