Package com.avaje.tests.model.inheritexposedtype.test

Source Code of com.avaje.tests.model.inheritexposedtype.test.TestInheritExposeDtype

package com.avaje.tests.model.inheritexposedtype.test;

import org.junit.Test;

import com.avaje.ebean.BaseTestCase;
import com.avaje.ebean.Ebean;
import com.avaje.tests.model.inheritexposedtype.IXPhoto;

public class TestInheritExposeDtype extends BaseTestCase {

  @Test
  public void test() {
   
    IXPhoto p = new IXPhoto();
    p.setName("the name");
    Ebean.save(p);

    // update
    p.setName("new name");
    Ebean.save(p);

    // delete
    Ebean.delete(p);
   
  }
}
TOP

Related Classes of com.avaje.tests.model.inheritexposedtype.test.TestInheritExposeDtype

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.