Hi Craig, In attachment is entire Eclipse project. Just add dependencies and enhancer agent. It is running on Derby.
The catch is that you must completely shut down EntityManager and Derby to reproduce this problem. First run Fill main method, it will create database and put two Audi instances there. After that it makes two queries which show that problem does not appear here. ie: "SELECT c FROM Car c" returns two Audi instances how it should be After thet run Test main method. It will make two same queries, but it does not return Audi, but Car. Full log from my machine is attached. Jan http://www.nabble.com/file/p12095237/jpaProblem.zip jpaProblem.zip http://www.nabble.com/file/p12095237/Fill.log Fill.log http://www.nabble.com/file/p12095237/Test.log Test.log -- View this message in context: http://www.nabble.com/Subclasses-instances-and-query-tf4249297.html#a12095237 Sent from the OpenJPA Users mailing list archive at Nabble.com.
