Examples of MyLobSize


Examples of com.avaje.tests.model.basic.MyLobSize

public class TestDefaultFetchLazy extends BaseTestCase {

  @Test
  public void testFetchTypeLazy() {

    MyLobSize m = new MyLobSize();
    m.setName("aname");
    m.setMyCount(10);
    m.setMyLob("A big lob of data");

    Ebean.save(m);

    Assert.assertNotNull(m.getId());

    MyLobSize myLobSize = Ebean.find(MyLobSize.class, m.getId());

    BeanState beanState = Ebean.getBeanState(myLobSize);
    Set<String> loadedProps = beanState.getLoadedProps();

    Assert.assertNotNull(loadedProps);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.