[Developer] #424 show VPD policy function source

This commit is contained in:
devmrko
2026-06-25 11:10:20 +09:00
parent 56c6432d86
commit 86e2b252c9
8 changed files with 126 additions and 2 deletions

View File

@@ -27,4 +27,12 @@
FROM all_policies
ORDER BY object_owner, object_name, policy_name
</select>
<select id="findFunctionSource" resultType="string">
SELECT LISTAGG(text, '') WITHIN GROUP (ORDER BY line)
FROM all_source
WHERE owner = UPPER(#{owner,jdbcType=VARCHAR})
AND name = UPPER(#{objectName,jdbcType=VARCHAR})
AND type = UPPER(#{objectType,jdbcType=VARCHAR})
</select>
</mapper>