The following code fails in the 3-2_4_SP1_CP branch (i couldn't get HEAD to
work because of maven problems)
public class JoinedSubclassTest extends FunctionalTestCase {
// original code ommited
public void testProxy() throws Exception {
Long id = Long.valueOf(0L);
Employee employee = (Employee) s.get(Employee.class, id);
assertNull(employee);
Person person = (Person) s.load(Person.class, id);
assertNotNull(person);
employee = (Employee) s.get(Employee.class, id);
assertNull(employee);
}
}
I couldn't find a bug about it.
Should I raise one?
Regards
Dan
|