Spring批处理表清除 [英] Spring Batch Tables Purging

查看:213
本文介绍了Spring批处理表清除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

清除弹簧表的最佳方法是什么?

What is the best way to purge Spring Tables?

Spring是否提供任何用于清除的API?或者,我们是否需要在所有Spring Batch表上执行delete语句?

Does Spring provides any APIS for purging? or, Do We need to execute delete statements on all Spring Batch Tables?

推荐答案

我已经为此苦苦挣扎了一段时间,但是对此没有标准的实现方法.

i have been struggling with this for a ling time but, there is no standard implementation for this.

然后我想出了自己的存储过程,

Then i came up with a my own stored procedure ,

我创建了自己的变量-用于清除最近6个月的数据AGO_SIX_MONTH_DATE

I have created my own variable - for clearing last 6 months data AGO_SIX_MONTH_DATE

您可以使用自己的值.

解决方案在下面的链接-

The solution is at below link -

Spring Batch元数据表正在清除

这篇关于Spring批处理表清除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆