have a requirements to create a purging program using
Java to purge record from database. Records will be purged from each tables before certain date (depending on defined in property file).
I have created program and decided all tables in to certain functions (NOT database function, but Java functions user defined) so that it can handles interdependent tables together. This program runs fine till 10 queries (first 4 functions) but halts at 5 the function of sequence defined.
In this case it takes very long time > 20 - 30 mins and finally aborted with following exception.
Could anyone please suggest me where do i need to start digging into?
Regards,
Jay Shukla