Package com.avaje.tests.model.basic

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


  public void test() {

    GlobalProperties.put("datasource.default", "h2");
    GlobalProperties.put("ebean.classes", ESimple.class.getName());

    ESimple e = new ESimple();
    e.setName("name");

    Ebean.save(e);

    Assert.assertNotNull(e.getId());

  }
View Full Code Here

TOP

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

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.