FIX for ManyToOne targetType & OSGI MANIFEST

This commit is contained in:
Eddie Mc Greal
2014-10-14 08:10:31 +02:00
parent 13791a2e58
commit 1065a84709
9 changed files with 224 additions and 1 deletions
@@ -0,0 +1,32 @@
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.ResetBasicData;
import com.avaje.tests.model.interfaces.Address;
import com.avaje.tests.model.interfaces.IAddress;
import com.avaje.tests.model.interfaces.IPerson;
import com.avaje.tests.model.interfaces.Person;
public class TestManyOneInterface extends BaseTestCase {
@Test
public void test() {
ResetBasicData.reset();
IAddress a = new Address();
IPerson p = new Person();
p.setDefaultAddress(a);
Ebean.save(a);
Ebean.save(p);
//Assert.assertTrue();
}
}