db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-503) Create tests for JDO 2.1 annotations
Date Mon, 06 Aug 2007 21:39:59 GMT

     [ https://issues.apache.org/jira/browse/JDO-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michelle Caisse updated JDO-503:
--------------------------------

    Attachment: PC.patch

This patch adds a new pc package with company model classes containing property annotations
as well as new configuration files and new entries in configurations.list. Enhancement fails
with 

14:35:45,640 (main) ERROR [JPOX.Enhancer] - An error was encountered reading the specified
input files. Please consult the log for details. The following may help : Class org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson
has field org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson.phoneNumber declared in MetaData,
but this field doesnt exist in the class!
Class org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson has field org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson.phoneNumber
declared in MetaData, but this field doesnt exist in the class!
org.jpox.metadata.InvalidMetaDataException: Class org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson
has field org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSPerson.phoneNumber declared in MetaData,
but this field doesnt exist in the class!
	at org.jpox.metadata.ClassMetaData.populateMemberMetaData(ClassMetaData.java:568)
	at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:252)
	at org.jpox.metadata.AbstractClassMetaData.validateSuperClass(AbstractClassMetaData.java:740)
	at org.jpox.metadata.AbstractClassMetaData.determineSuperClassName(AbstractClassMetaData.java:660)
	at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:235)
	at org.jpox.metadata.AbstractClassMetaData.validateSuperClass(AbstractClassMetaData.java:740)
	at org.jpox.metadata.AbstractClassMetaData.determineSuperClassName(AbstractClassMetaData.java:660)
	at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:235)
	at org.jpox.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java:1584)
	at org.jpox.metadata.MetaDataManager.initialise(MetaDataManager.java:315)
	at org.jpox.enhancer.JPOXEnhancer.getFileMetaDataForInput(JPOXEnhancer.java:724)
	at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:533)

> Create tests for JDO 2.1 annotations
> ------------------------------------
>
>                 Key: JDO-503
>                 URL: https://issues.apache.org/jira/browse/JDO-503
>             Project: JDO
>          Issue Type: Task
>          Components: tck2
>            Reporter: Michelle Caisse
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: applicationidentity_company_package_jdo.patch, applicationidentity_sql.patch,
company_annotatedpi.patch, datastoreidentity_company_package_jdo.patch, datastoreidentity_sql.patch,
PC.patch
>
>
> Create tests for JDO annotations

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message