<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:ns2="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                    hl_contract_pkg.insert_into_attachment_bmp(
                    	p_file_path      =>${@p_file_path},
                        p_file_name     =>${@p_file_name},
                        p_file_size     =>${@p_file_size},
                        p_user_id      =>nvl(${@p_user_id},1),
                        p_contract_id     =>${@p_contract_id},
                        p_file_type    =>${@p_file_type},
                        p_lease_type   =>${@p_lease_type},
                        p_session_id  =>${/session/@session_id}
                    );
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
