[ 
http://issues.apache.org/jira/browse/JDO-285?page=comments#action_12365106 ] 

Andy Jefferson commented on JDO-285:
------------------------------------

Further comment : both of these issues are trying to read the results of 
queries, before the connection is closed while rolling back). What is the query 
that was executed just before ? and what is the SQL invoked by JPOX ? (in the 
JPOX log). This should have a column "XXX as JPOXMETADATA" or a discriminator 
column. This should define the type of the real object in the datastore, and 
then JPOX is trying to create an instance of it. Is the SQL correct for the 
query ? Is the value of this class being returned incorrectly and consequently 
JPOX tries to create an instance of an abstract class (or rather 
JDOImplHelper.newInstance is asked to but returns null for the class Employee 
... why would it do that ?)

> Fix list of teardown classes in company model reader.
> -----------------------------------------------------
>
>          Key: JDO-285
>          URL: http://issues.apache.org/jira/browse/JDO-285
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-285.patch
>
> The list of teardown classes in company model should not contain subclasses 
> of inheritance hierarchies insurance and person. In t-conference, Jan 27, we 
> agreed that the correct order is: Insurance.class, Person.class, 
> Department.class, Company.class, Project.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to