@Override
    @Transactional
    public void run() {
        String storedProc = "purge_obsolete_batch_data";
        boolean result = entityManager.createStoredProcedureQuery(storedProc)
                                      .registerStoredProcedureParameter(0, Integer.class, ParameterMode.IN)
                                      .setParameter(0, 90)
                                      .execute();
        log.info("executed {} : resultset ? {}", storedProc, result);
    }
@ Override @ Transactional public void run ( ) { String storedProc = "purge_obsolete_batch_data" ; boolean result = entityManager . createStoredProcedureQuery ( storedProc ) . registerStoredProcedureParameter ( 0 , Integer . class , ParameterMode . IN ) . setParameter ( 0 , 90 ) . execute ( ) ; log . info ( "executed {} : resultset ? {}" , storedProc , result ) ; }
/* (non-Javadoc)
@see java.util.TimerTask#run()