mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#338 - Remove deprecated method - save(Iterator<?> it, Transaction transaction) ... please change to iterate yourself and save.
This commit is contained in:
@@ -1394,13 +1394,6 @@ public interface EbeanServer {
|
||||
*/
|
||||
void save(Object bean, Transaction transaction) throws OptimisticLockException;
|
||||
|
||||
/**
|
||||
* Deprecated - please change to iterate yourself and save.
|
||||
* Save all the beans in the iterator with an explicit transaction.
|
||||
*/
|
||||
@Deprecated
|
||||
int save(Iterator<?> it, Transaction transaction) throws OptimisticLockException;
|
||||
|
||||
/**
|
||||
* Deprecated - please migrate to saveAll().
|
||||
*
|
||||
|
||||
@@ -1689,11 +1689,6 @@ public final class DefaultServer implements SpiEbeanServer {
|
||||
return saveAllInternal(c.iterator(), t);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int save(Iterator<?> it, Transaction transaction) throws OptimisticLockException {
|
||||
return saveAllInternal(it, transaction);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int saveAll(Collection<?> beans, Transaction transaction) throws OptimisticLockException {
|
||||
return saveAllInternal(beans.iterator(), transaction);
|
||||
|
||||
Reference in New Issue
Block a user