package在Form中的应用问题

[复制链接]
查看11 | 回复1 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我需要在form中调用一个包,我想让包在后台运行(这个包可能回运行很久),而Form不必等待包运行的结果,继续处理其他的事务. 这种想法能不能实现,怎样去实现?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
there should be something to pick up the job you submitted.
1st: create a job table to store the parameters of the package
2nd: create a dbms_job program to read the job table again and again to check for new jobs, when it find a new job, lock the row and use dynamic sql to process the job, and then delete the row
3rd: modify the form, change the execute package to row insertion (with parameters) to the job table
Is it too difficult to implement?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行