I have the same problem now... I had been running xdoclet 1.1.2 successfully with jboss3rc3 cmr with no problems. I just pulled down the newest xdoclet from cvs this morning and it broke my jbosscmp-jdbc.xml cmr's (the keyfields all of a sudden appeared on the other side of their relationships!).
David -- Grant Marblestone wrote: > I tried to deploy my jar file and i get this error.. i am not sure if its > xdoclet or jboss..... so i post here first... > org.jboss.deployment.DeploymentException: error in create of > EjbModule: > file:/C:/jboss-3.0.0RC3/server/default/deploy/middlegen-demo-ejb.jar; > nested throwable :(org.jboss.deployment.DeploymentException: Role: > qcrpt_init_phase-has-cont_qc_rpt with multiplicity many using > foreign-key > mapping is not allowed to have key-fields) > > > >>Which xdoclet version? Also, please post relevant code sections, ie, >>tags where you define this relation. > > > answer: > > 1.1.2 > <!--CODE--> > public abstract java.math.BigDecimal getReportNoFk(); > > /** > * Sets the reportNoFk > * > * @param reportNoFk the new reportNoFk > */ > public abstract void setReportNoFk(java.math.BigDecimal reportNoFk); > > /** > * Returns a collection of local ContQcRpt > * > * @return a collection of local ContQcRpt > * > * @ejb:interface-method view-type="local" > * > * @ejb:relation > * name="cont_qc_rpt-qcrpt_init_phase" > * role-name="qcrpt_init_phase-has-cont_qc_rpt" > * > * > * @weblogic:target-column-map > * foreign-key-column="REPORT_NO_FK" > * key-column="REPORT_NO" > * > */ > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user -- --------------------- David Ward [EMAIL PROTECTED] http://www.dotech.com _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
