<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: NYL $Date: 2015-1-8 上午10:07:04 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[select f.country_id,f.country_code,f.description from fnd_country f where f.country_code = 'CHN' and f.enabled_flag = 'Y']]></bm:query-sql> </bm:operation> </bm:operations> <bm:fields> <bm:field name="country_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COUNTRY_ID" required="true"/> <bm:field name="country_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COUNTRY_CODE"/> <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION"/> </bm:fields> </bm:model>