@Test public void testExecute() { Assert.assertEquals(3L, getEntityManager().createQuery("SELECT COUNT(*) from TempWeekdaysSinceDate") .getSingleResult()); DeleteAllTempWeekdaysSinceDateDbMapper sut = new DeleteAllTempWeekdaysSinceDateDbMapper(); sut.setEntityManager(getEntityManager()); sut.execute(); Assert.assertEquals(0L, getEntityManager().createQuery("SELECT COUNT(*) from TempWeekdaysSinceDate") .getSingleResult()); }
@Override public Serializable execute() { getEntityManager().createQuery("DELETE FROM TempWeekdaysSinceDate").executeUpdate(); return null; }
DeleteAllTempWeekdaysSinceDateDbMapper extends BaseNoArgDomainMapper<Serializable> { @Override public Serializable execute() { getEntityManager().createQuery("DELETE FROM TempWeekdaysSinceDate").executeUpdate(); return null; } }
DeleteAllTempWeekdaysSinceDateDbMapper extends BaseNoArgDomainMapper<Serializable> { @Override public Serializable execute() { getEntityManager().createQuery("DELETE FROM TempWeekdaysSinceDate").executeUpdate(); return null; }  }
DeleteAllTempWeekdaysSinceDateDbMapper extends BaseNoArgDomainMapper<Serializable> { @Override public Serializable execute() { getEntityManager().createQuery("DELETE FROM TempWeekdaysSinceDate").executeUpdate(); return null; }  @Override Serializable execute(); }
DeleteAllTempWeekdaysSinceDateDbMapper extends BaseNoArgDomainMapper<Serializable> { @Override public Serializable execute() { getEntityManager().createQuery("DELETE FROM TempWeekdaysSinceDate").executeUpdate(); return null; }  @Override Serializable execute();  }