Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-755 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-755 Summary: cannot create a proper dd file with relations Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Oracle module Versions: 1.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Jettro Coenradie Created: Tue, 6 Jan 2004 5:52 AM Updated: Tue, 6 Jan 2004 5:52 AM Environment: Windows Xp, ant Description: I am trying out the xdoclet source generation for the Scott Tiger tables in oracle 9ias datbase. I need the correct oc4j-ejb-jar.xml file. It must contain: <cmp-field-mapping name="dept_deptno" persistence-name="DEPTNO"> <entity-ref home="Dept"> <cmp-field-mapping persistence-name="DEPTNO" persistence-type="NUMBER(2)"/> </entity-ref> </cmp-field-mapping> which indicates that an employee knows one department. It seems that the iteration tag <XDtEjbPersistent:forAllPersistentFields only-pk="true"> is not working in the following part, which is part of the oc4j-cmp-mapping.xdt file <XDtType:ifIsNotPrimitive value="<XDtMethod:methodType/>"> <XDtMethod:ifDoesntHaveMethodTag tagName="oc4j.persistence" paramName="ejb-class-name"> <XDtType:ifIsNotOfType value="return-type" type="java.lang.Number,java.util.Date,java.io.Serializable,javax.ejb.EJBObject,javax.ejb.EJBLocalObject,javax.ejb.EJBHome,javax.ejb.EJBLocalHome,java.util.List,java.util.Vector,java.util.Collection,java.util.Map,java.util.Hashtable,java.util.Properties"> <fields> <XDtClass:pushClass value="<XDtMethod:methodType/>"> <XDtEjbPersistent:forAllPersistentFields not-pk="true"> <XDtMerge:merge file="xdoclet/modules/oracle/oc4j/ejb/resources/oc4j-cmp-mapping.xdt"></XDtMerge:merge> </XDtEjbPersistent:forAllPersistentFields> </XDtClass:pushClass> </fields> </XDtType:ifIsNotOfType> </XDtMethod:ifDoesntHaveMethodTag> <XDtMethod:ifHasMethodTag tagName="oc4j.persistence" paramName="ejb-class-name"> <XDtClass:pushClass value="<XDtMethod:methodTagValue tagName='oc4j.persistence' paramName='ejb-class-name'/>"> <entity-ref home="<XDtEjb:ejbName/>"> <XDtEjbPersistent:forAllPersistentFields only-pk="true"> <XDtMerge:merge file="xdoclet/modules/oracle/oc4j/ejb/resources/oc4j-cmp-mapping.xdt"></XDtMerge:merge> </XDtEjbPersistent:forAllPersistentFields> </entity-ref> </XDtClass:pushClass> I hope this is detailed enough. greetz Jettro --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
