Hi Everyone
I worked on a Provisioning rule for a JDBC connector to handle the grant of the roles.
The query that must be executed in our database system looks like (mandatory double quotes to enclose the role name):
grant role “Role_Name” to user User_Name
In the provisioning rule, the script is enclosed between double quotes ( " ) so I need to escape them in my different instructions.
I used a string variable to build my SQL query and I tried different ways:
In both cases I met an issue (yntax error line 1 at position 248 unexpected ‘+’) and my query isn’t executed.
How can I easily build my query in the rule to respect what is expected by the database system ?
Thanks in advance.
Regards