From 082cfe32dca1321a333c520a142b95cab1cfa0d8 Mon Sep 17 00:00:00 2001 From: Yuriy Movchan Date: Tue, 29 Nov 2022 22:26:00 +0300 Subject: [PATCH] fix(jans-config-api): user attributes not updated #2753 --- .../sql/src/main/java/io/jans/orm/sql/impl/SqlEntryManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jans-orm/sql/src/main/java/io/jans/orm/sql/impl/SqlEntryManager.java b/jans-orm/sql/src/main/java/io/jans/orm/sql/impl/SqlEntryManager.java index b6690e229a9..7e0fb92c498 100644 --- a/jans-orm/sql/src/main/java/io/jans/orm/sql/impl/SqlEntryManager.java +++ b/jans-orm/sql/src/main/java/io/jans/orm/sql/impl/SqlEntryManager.java @@ -989,7 +989,7 @@ protected boolean isSupportForceUpdate() { } private String getBaseObjectClassForDataOperation(String[] objectClasses) { - if (ArrayHelper.isNotEmpty(objectClasses) && objectClasses.length > 0) { + if (ArrayHelper.isNotEmpty(objectClasses) && objectClasses.length > 1) { throw new MappingException("SQL ORM supports only one OC!"); }