mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Originally the API took explicit transactions but then the API changed toward query.usingTransaction(), which means the SpiQuery holds the explicit transaction. This change is to update the SpiEbeanServer API to reflect that it can get explicit transaction from SpiQuery.transaction() rather than pass transaction around. Doing this also identified a small bug where L2 cache could be hit when it should not after there is some update on the transaction (hence the adjustment to the test TestBeanCache missCount)