...
a. KRAD Design: A simple KRAD maintenance document will be used to create and update a new or an existing Lending Policy record.
b. Participants:
OleLendingPolicy.xml
OleLendingPolicyMaintenanceDocument.xml
OleLendingPolicy.java
c. Framework: Rice2.x
...
3. OJB-Mapping
<class-descriptor class="org.kuali.ole.catalog.bo.OleLendingPolicy" table="OLE_CAT_LND_POL_T">
<field-descriptor name="lendingPolicyId" column="LND_POL_ID " jdbc-type="INTEGER" primarykey="true" index="true" autoincrement="true" sequence-name="OLE_CAT_LND_POL_s "></field-descriptor>
<field-descriptor name="lendingPolicyCode" column="LND_POL_CD" jdbc-type="VARCHAR"></field-descriptor>
<field-descriptor name="lendingPolicyName" column="LND_POL_NM" jdbc-type="VARCHAR"></field-descriptor>
<field-descriptor name="source" column="SRC" jdbc-type="VARCHAR"></field-descriptor>
<field-descriptor name="sourceDate" column="SRC_DT" jdbc-type="DATE"></field-descriptor>
<field-descriptor name="objectId" column="OBJ_ID" jdbc-type="VARCHAR" index="true"/>
<field-descriptor name="versionNumber" column="VER_NBR" jdbc-type="BIGINT" locking="true"/>
<field-descriptor name="active" column="ROW_ACT_IND" jdbc-type="VARCHAR" conversion="org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversion" />
</class-descriptor>
...