* Tests to-one prefetching over relationships with compound keys.
*/
public void testPrefetch10() throws Exception {
createTestData("testCompound");
Expression e = ExpressionFactory.matchExp("name", "CFK2");
SelectQuery q = new SelectQuery(CompoundFkTestEntity.class, e);
q.addPrefetch("toCompoundPk");
List objects = context.performQuery(q);
assertEquals(1, objects.size());