保存数据:AaaTest aaaTest = new AaaTest();aaaTest.setId(id);aaaTest.setName(name);aaaTest.setAddress(address);this.baseDao.save(aaaTest);QueryHelper helper = new QueryHelper();helper.append(" from AaaTest");List<AaaTest> l = (List<AaaTest>) baseDao.getList(helper);调用存储过程://调存储过程Conn Read More
posted @ 2012-09-13 16:08 七郎 Views(1723) Comments(0) Diggs(0) Edit
PRC:CREATE OR REPLACE PROCEDURE BUZ_TEXMATCH( p_date in varchar2, --对账日期 p_file in varchar2, --对账文件名 o_result out NUMBER, --返回对账结果,成功为1 出现异常为0 o_cursor out MYPACKAGE.TEXMATCH_CURSOR--返回本地记录不存在,主机存在的对账记录) as--本地记录存在,主机存在的对账,根据对账结果修改本地库成功或失败CURSOR cur_tb_texmatch (l_date PUPS_DTL_TEXMATCH.HCMPDATE%TYP Read More
posted @ 2012-09-13 16:04 七郎 Views(492) Comments(0) Diggs(0) Edit