db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-255) Inheritance mapping 1 fails for application identity.
Date Sat, 17 Dec 2005 07:26:36 GMT
    [ http://issues.apache.org/jira/browse/JDO-255?page=comments#action_12360654 ] 

Andy Jefferson commented on JDO-255:
------------------------------------

That should have read, duplicate of JDO-256 :-)

> Inheritance mapping 1 fails for application identity.
> -----------------------------------------------------
>
>          Key: JDO-255
>          URL: http://issues.apache.org/jira/browse/JDO-255
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Erik Bengtson

>
> Test data has been changed for all inheritance mappings from companyNoRelationships to
companyAllRelationships. Since this change, inheritance mapping 1 for application identity
fails throwing a ClassCastException:
> 1) test(org.apache.jdo.tck.mapping.CompletenessTest)java.lang.ClassCastException
> 	at org.apache.jdo.tck.pc.company.Employee.jdoReplaceField(Employee.java)
> 	at org.apache.jdo.tck.pc.company.PartTimeEmployee.jdoReplaceField(PartTimeEmployee.java)
> 	at org.apache.jdo.tck.pc.company.Person.jdoReplaceFields(Person.java)
> 	at org.jpox.state.StateManagerImpl.replaceFields(StateManagerImpl.java:2850)
> 	at org.jpox.store.rdbms.request.FetchRequest.execute(FetchRequest.java:187)
> 	at org.jpox.store.rdbms.table.ClassTable.fetch(ClassTable.java:2094)
> 	at org.jpox.store.rdbms.table.ClassTable.fetch(ClassTable.java:2087)
> 	at org.jpox.store.StoreManager.fetch(StoreManager.java:754)
> 	at org.jpox.state.StateManagerImpl.loadNonDFGFields(StateManagerImpl.java:1576)
> 	at org.jpox.state.StateManagerImpl.isLoaded(StateManagerImpl.java:1753)
> 	at org.apache.jdo.tck.pc.company.Employee.jdoGetdentalInsurance(Employee.java)
> 	at org.apache.jdo.tck.pc.company.Employee.getDentalInsurance(Employee.java:194)
> 	at org.apache.jdo.tck.pc.company.Employee.deepCompareFields(Employee.java:447)
> 	at org.apache.jdo.tck.pc.company.PartTimeEmployee.deepCompareFields(PartTimeEmployee.java:119)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:387)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:483)
> 	at org.apache.jdo.tck.pc.company.Department.deepCompareFields(Department.java:245)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:387)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:483)
> 	at org.apache.jdo.tck.pc.company.Company.deepCompareFields(Company.java:220)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:387)
> 	at org.apache.jdo.tck.pc.company.Department.deepCompareFields(Department.java:245)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:387)
> 	at org.apache.jdo.tck.util.EqualityHelper.deepEquals(EqualityHelper.java:483)
> 	at org.apache.jdo.tck.pc.company.Company.deepCompareFields(Company.java:220)
> 	at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:126)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
> 	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)

-- 
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


Mime
View raw message