I was trying to make the account status for the jdbc accounts as disabled, without using the jdbc buildmap rule , with the use of making account query as
SELECT *,
CASE
WHEN user.status = 0 THEN 1
ELSE 0
END AS IIQDisabled
FROM user
LEFT JOIN usercapabilities
ON user.userid = usercapabilities.userid
ORDER BY user.userid;
my database is oracle jdbc
and I have added the IIQDisabled attribute to the schema and made it as boolean
but it was not working as expected , the value was not getting populated in the IIQDisabled attribute and the account status is being enabled only.
can someone help me out with this, It will be very helpful
Thanks in advance!
Tulasi
Thanks for the response but the account attribute we use for the status mapping is status which is number not string, so not sure whether the above buildmap works are should we make any changes to it