Repository navigation
Conversation
closes keycloak#48390 Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
|
Example workflow definition to delete orphaned CIMD clients that have been inactive for 30 days: |
|
Outside contributor here — we run a custom CIMD provider on 26.6.4 and had this exact gap open on our side, so this is very welcome. Two things on 1. On Oracle this compares a CLOB with a VARCHAR.
if (dbProductName.equals("Oracle")) {
// Oracle is not able to compare a CLOB with a VARCHAR unless it being converted with TO_CHAR
// ... This leaves DBMS_LOB.COMPARE as the option to compare the CLOB with the value.
Predicate attrValuePredicate = builder.equal(
builder.function("DBMS_LOB.COMPARE", Integer.class, attributeJoin.get("value"), builder.literal(value)), 0);
2. The comparison is lexicographic, and correct only while every value has the same digit count.
The reachable case is a negative bound: A test with one client exactly at the boundary and one just inside it would pin the ordering; the per-database part is harder to cover, but at minimum worth a comment pointing at the precedent above. Two notes outside the predicate:
Also worth saying: using |
|
Following up — first, a correction to my earlier comment: the lexicographic comparison The one I'd still raise is the predicate's input.
Smaller: Update (2026-10-14): for comparison, what we now run for CIMD clients is that shape: a |
closes #48390