select id, client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove, type, status, icon, cloud_skill_id,tenant_id, tenant_name from oauth_client_details
insert into oauth_client_details
client_id,
resource_ids,
client_secret,
scope,
authorized_grant_types,
web_server_redirect_uri,
authorities,
access_token_validity,
refresh_token_validity,
additional_information,
autoapprove,
type,
status,
icon,
cloud_skill_id,
tenant_id,
tenant_name,
#{clientId},
#{resourceIds},
#{clientSecret},
#{scope},
#{authorizedGrantTypes},
#{webServerRedirectUri},
#{authorities},
#{accessTokenValidity},
#{refreshTokenValidity},
#{additionalInformation},
#{autoapprove},
#{type},
#{status},
#{icon},
#{cloudSkillId},
#{tenantId},
#{tenantName},
update oauth_client_details
client_id = #{clientId},
resource_ids = #{resourceIds},
client_secret = #{clientSecret},
scope = #{scope},
authorized_grant_types = #{authorizedGrantTypes},
web_server_redirect_uri = #{webServerRedirectUri},
authorities = #{authorities},
access_token_validity = #{accessTokenValidity},
refresh_token_validity = #{refreshTokenValidity},
additional_information = #{additionalInformation},
autoapprove = #{autoapprove},
type = #{type},
status = #{status},
icon = #{icon},
cloud_skill_id = #{cloudSkillId},
where id = #{id}
delete from oauth_client_details where client_id = #{clientId}
delete from oauth_client_details where id in
#{id}