mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#336 - Remove deprecated method - delete(Iterator<?> it, Transaction transaction)
This commit is contained in:
@@ -1271,14 +1271,6 @@ public interface EbeanServer {
|
||||
*/
|
||||
void delete(Object bean, Transaction transaction) throws OptimisticLockException;
|
||||
|
||||
/**
|
||||
* Deprecated - please migrate to iterate yourself and delete().
|
||||
*
|
||||
* Delete all the beans from an iterator.
|
||||
*/
|
||||
@Deprecated
|
||||
int delete(Iterator<?> it, Transaction transaction) throws OptimisticLockException;
|
||||
|
||||
/**
|
||||
* Execute a Sql Update Delete or Insert statement. This returns the number of
|
||||
* rows that where updated, deleted or inserted. If is executed in batch then
|
||||
|
||||
@@ -1795,11 +1795,6 @@ public final class DefaultServer implements SpiEbeanServer {
|
||||
persister.delete(checkEntityBean(bean), t);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int delete(Iterator<?> it, Transaction transaction) throws OptimisticLockException {
|
||||
return deleteAllInternal(it, transaction);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete all the beans in the collection.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user