Why do you think you aren't getting an instance of the child class? Is it throwing a ClassCastException, or is something else going on?
posted 3 years ago
Thanks! Matthew. You're right it is throwing a ClassCastException.
Also, the check below produces the child class:
The child class is an association table with two fields: childID and parentID. The parent class has the parentID as the primary key and about 40 other fields. Modifications to these two entity classes are not allowed.
No, tomorrow we rule the world! With this tiny ad: