Wednesday, November 14, 2001

Java Oracle Stored Procedure Processing XML

After I reinstalled the plsql xdk on Oracle 8i, my jdbc stored procedure started working again. Now I can perform some additional time studies. My technique is flexible since I'm passing an xml packet to the procedure. The procedure loops over all of the attributes in the packet and inserts each one into the data repository. My xml looks like this:
<r session="sess01" updator="medined" object="1005769145473">
 <f n="PMA_APPROVAL_MEANS" v="Identicality Per FAR 21.303(c)"/>
 <f n="PMA_MANUFACTURER" v="Boeing"/>
</r>
Each f tag defines one fact, or attribute about an object. The object attribute of the r tag links all of the attributes together. The session attribute lets me know which objects were loaded together.
Post a Comment