@Override protected void doStartTx(Object delegate, boolean readOnly) { if (readOnly) { TxScope scope = TxScope.required().setReadOnly(true); ebeanReadOnly.beginTransaction(scope); } else { ebean.beginTransaction(); } }
@Override protected void doStartTx(Object delegate, boolean readOnly) { if (readOnly) { TxScope scope = TxScope.required().setReadOnly(true); ebeanReadOnly.beginTransaction(scope); } else { ebean.beginTransaction(); } }