Package com.avaje.tests.model.basic

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


public class TestNonUpdateProperty extends BaseTestCase {

  @Test
  public void test() {

    MNonUpdPropEntity e = new MNonUpdPropEntity();
    e.setName("name");
    e.setNote("note");

    Ebean.save(e);

    MNonUpdPropEntity e2 = Ebean.find(MNonUpdPropEntity.class, e.getId());

    e2.setName("mod");
    Ebean.update(e2);

  }
View Full Code Here

TOP

Related Classes of com.avaje.tests.model.basic.MNonUpdPropEntity

Copyright © 2018 www.massapicom. 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.