#115 - Mapping - Add support for @ElementCollection enhancement

Add element collection L2 cache support
This commit is contained in:
Rob Bygrave
2018-03-29 01:15:58 +13:00
parent 07946cd505
commit acd5578d8a
52 changed files with 734 additions and 135 deletions
@@ -5,7 +5,7 @@ import io.ebean.Ebean;
import io.ebean.EbeanServer;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.api.SpiEbeanServer;
import io.ebeaninternal.server.text.json.SpiJsonWriter;
import io.ebeaninternal.api.json.SpiJsonWriter;
import org.junit.Test;
import org.tests.model.basic.Customer;
import org.tests.model.basic.Order;
@@ -57,7 +57,7 @@ public class TestDiffHelpInsertSimple extends BaseTestCase {
SpiJsonWriter jsonWriter = spiEbeanServer().jsonExtended().createJsonWriter(buffer);
orderDesc.jsonWriteForInsert(jsonWriter, (EntityBean) order1);
jsonWriter.gen().flush();
jsonWriter.flush();
String asJson = buffer.toString();