#339 - Remove deprecated method - save(Collection<?> beans, Transaction transaction) ... migrate to saveAll()

This commit is contained in:
Robin Bygrave committed 2015-07-20 11:15:10 +12:00
1 parent f96ce11c73
commit 80253c4e07
3 files changed
-21

No files matched your search

@@ -1681,14 +1681,6 @@ public final class DefaultServer implements SpiEbeanServer {
}
}
/**
* Perform an update or insert on each bean in the collection. Returns the
* number of beans that where saved.
*/
public int save(Collection<?> c, Transaction t) {
return saveAllInternal(c.iterator(), t);
}
@Override
public int saveAll(Collection<?> beans, Transaction transaction) throws OptimisticLockException {
return saveAllInternal(beans.iterator(), transaction);