add faling test case for time properties

This commit is contained in:
Noemi Szemenyei authored and Roland Praml committed 2021-11-29 08:07:59 +01:00
1 parent 73abd6f387
commit 8cd2869f3f
11 files changed
+863 -2

No files matched your search

@@ -629,8 +629,7 @@ public final class DefaultTypeManager implements TypeManager {
*/
private ScalarTypeEnum<?> createEnumScalarTypeDbValue(Class<? extends Enum<?>> enumType, Method method, boolean integerType, int length, boolean withConstraint) {
Map<String, String> nameValueMap = new LinkedHashMap<>();
Enum<?>[] enumConstants = enumType.getEnumConstants();
for (Enum<?> enumConstant : enumConstants) {
for (Enum<?> enumConstant : enumType.getEnumConstants()) {
try {
Object value = method.invoke(enumConstant);
nameValueMap.put(enumConstant.name(), value.toString());