package com.avaje.tests.basic;
import org.junit.Test;
import com.avaje.ebean.BaseTestCase;
import com.avaje.ebean.Ebean;
import com.avaje.tests.model.basic.TUuidEntity;
public class TestUuidInsert extends BaseTestCase {
@Test
public void test() {
TUuidEntity e = new TUuidEntity();
e.setName("bana");
Ebean.save(e);
TUuidEntity e2 = Ebean.find(TUuidEntity.class, e.getId());
e2.setName("apple");
Ebean.save(e2);
Ebean.delete(e2);
}
}