Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion #1276

This commit is contained in:
Rob Bygrave
2018-02-26 11:45:49 +13:00
parent 21182da793
commit 0e219a9bc6
10 changed files with 120 additions and 174 deletions
@@ -1,7 +1,5 @@
package io.ebeaninternal.server.transaction;
import io.ebean.Transaction;
import java.sql.Connection;
import java.sql.SQLException;
@@ -23,9 +21,8 @@ public class DocStoreOnlyTransaction extends JdbcTransaction {
}
@Override
public Transaction setReadOnly(boolean readOnly) {
public void setReadOnly(boolean readOnly) {
// do nothing
return this;
}
@Override