Skip to content

Commit 1104308

Browse files
committed
Fix failing type check on sql server
1 parent 24fb7f6 commit 1104308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/flowable-app-rest/src/test/java/org/flowable/test/persistence/TableColumnTypeValidationTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ protected Map<String, String> internalGetColumnMetaData(String tableName) {
238238
columnType = EntityParameterTypesOverview.PARAMETER_TYPE_INTEGER;
239239

240240
} else if (columnType.equalsIgnoreCase("int8") // postgres
241-
|| columnType.equalsIgnoreCase("serial")) { // postgres
241+
|| columnType.equalsIgnoreCase("serial") // postgres
242+
|| columnType.equalsIgnoreCase("numeric")) { // sql server
242243
columnType = EntityParameterTypesOverview.PARAMETER_TYPE_BIGINT;
243244

244245
} else if (columnType.equalsIgnoreCase("bit")

0 commit comments

Comments
 (0)