assertNull(modelFromDatabase.discovererJoined);
assertNull(modelFromDatabase.discovererJoined2);
}
public void testJoinAnnotationDouble() {
Discovery4Join2 radioactivity = new Discovery4Join2("Radioactivity",
LongAutoID_CURIE, LongAutoID_TESLA);
Discovery4Join2 relativity = new Discovery4Join2("Relativity",
LongAutoID_EINSTEIN, LongAutoID_TESLA);
Discovery4Join2 foo = new Discovery4Join2("Foo", LongAutoID_EINSTEIN,
LongAutoID_EINSTEIN);
Discovery4Join2 teslaCoil = new Discovery4Join2("Tesla Coil",
LongAutoID_TESLA, LongAutoID_CURIE);
pm.insert(radioactivity, relativity, foo, teslaCoil).get();
List<Discovery4Join2> res = pm.createQuery(Discovery4Join2.class)