nyla.solutions.dao.executable.BatchSqlExecutable Maven / Gradle / Ivy
package nyla.solutions.dao.executable;
import nyla.solutions.dao.AbstractDaoOperation;
import nyla.solutions.dao.SQL;
import nyla.solutions.global.exception.RequiredException;
import nyla.solutions.global.exception.SystemException;
import java.sql.*;
import nyla.solutions.global.patterns.command.Environment;
import nyla.solutions.global.util.Debugger;
/**
* @author Gregory Green
* @version 1.0
* @deprecated use commands
*
*
* SqlExecutable represents an executed SQL statement
*
* Sample Spring Configuration
*
* <bean id="cleanUpMonitoringExecutable" class="nyla.solutions.dao.executable.BatchSqlExecutable"
singleton="false">
<property name="sqls">
<list>
<value><![CDATA[DELETE FROM JVM_MEMORY_USAGES WHERE CAPTURE_DATE < trunc(add_months(sysdate,-12),'DAY')]]></value>
<value><![CDATA[DELETE FROM JVM_THREAD_COUNTS WHERE CAPTURE_DATE < trunc(add_months(sysdate,-12),'DAY')]]></value>
<value><![CDATA[DELETE FROM MONITORING_SIZES WHERE CAPTURE_DATE < trunc(add_months(sysdate,-12),'DAY')]]></value>
</list>
</property>
</bean>
*
*/
@Deprecated
public class BatchSqlExecutable extends AbstractDaoOperation
//implements Executable, Command
© 2015 - 2025 Weber Informatics LLC | Privacy Policy