<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: zhenwei.yin $Date: 2013-4-2 上午11:36:21 $Revision: 1.0 $Purpose: abc分类使用BM --> <bm:model xmlns:e="leaf.service.exception" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_ABC_CLASS" defaultOrderBy="abc_class"> <bm:fields> <bm:field name="abc_class" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ABC_CLASS" prompt="HLS.ABC_CLASS"/> <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HLS.DESCRIPTION"/> <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HLS.ENABLED_FLAG"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="abc_class"/> </bm:primary-key> <e:exception-descriptor-config> <e:exception-descriptor exception="java.sql.SQLException" handleClass="leaf.database.SQLExceptionDescriptor"> <e:error-message code="1" message="HLS.HLS021_UNIQUE_ERROR"/> </e:exception-descriptor> </e:exception-descriptor-config> </bm:model>