#2138 - Mark Transaction.flushBatch() as deprecated - migrate to flush();

This commit is contained in:
rob bygrave
2020-12-21 14:58:04 +13:00
parent f22a322104
commit 400ae3cf4b
7 changed files with 17 additions and 17 deletions
@@ -519,11 +519,11 @@ public interface Transaction extends AutoCloseable {
void flush() throws PersistenceException;
/**
* This is a synonym for flush() and will be deprecated.
* Deprecated - migrate to flush().
* <p>
* flush() is preferred as it matches the JPA flush() method.
* </p>
*/
@Deprecated
void flushBatch() throws PersistenceException;
/**