[#8512] JPADatabase may not be able to properly detect AttributeConverter

Some implementation of this database may have already configured a forced type programmatically, so we must not set the list but append it.
This commit is contained in:
lukaseder 2019-04-11 16:54:56 +02:00
parent 381adbc492
commit ab3f0ed371

View File

@ -1140,7 +1140,11 @@ public abstract class AbstractDatabase implements Database {
@Override
public final void setConfiguredForcedTypes(List<ForcedType> configuredForcedTypes) {
this.configuredForcedTypes = configuredForcedTypes;
// [#8512] Some implementation of this database may have already configured
// a forced type programmatically, so we must not set the list but
// append it.
getConfiguredForcedTypes().addAll(configuredForcedTypes);
}
@Override