#661 - ENH: Add deletePermanent(beanType, id) and deleteAllPermanent(beanType, ids) ... (basically missing API)

This commit is contained in:
Robin Bygrave committed 2016-04-26 21:30:52 +12:00
1 parent 2067568a5e
commit 03189ac92a
12 files changed
+454 -20

No files matched your search

@@ -575,6 +575,16 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
return 0;
}
@Override
public int deletePermanent(Class<?> beanType, Object id) {
return 0;
}
@Override
public int deletePermanent(Class<?> beanType, Object id, Transaction transaction) {
return 0;
}
@Override
public int execute(SqlUpdate updSql) {
return 0;
@@ -765,6 +775,16 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
}
@Override
public void deleteAllPermanent(Class<?> beanType, Collection<?> ids) {
}
@Override
public void deleteAllPermanent(Class<?> beanType, Collection<?> ids, Transaction transaction) {
}
@Override
public int saveAll(Collection<?> beans, Transaction transaction) throws OptimisticLockException {
return 0;