<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" needAccessControl="false">
    <bm:fields>
        <bm:field name="server_url" databaseType="VARCHAR2" datatype="java.lang.String"/>
        <bm:field name="app_id" databaseType="VARCHAR2" datatype="java.lang.String"/>
        <bm:field name="app_security" databaseType="VARCHAR2" datatype="java.lang.String"/>
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[

select sys_parameter_pkg.value(p_parameter_code => 'JG_SERVER_URL') server_url,
       sys_parameter_pkg.value(p_parameter_code => 'JG_APP_ID') app_id,
       sys_parameter_pkg.value(p_parameter_code => 'JG_APP_SECURITY') app_security
  from dual
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
