From: SourceForge.net <no...@so...> - 2003-05-03 11:39:43
|
Bugs item #654181, was opened at 2002-12-15 20:27 Message generated for change (Comment added) made by slaboure You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=654181&group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jarl Petter Kvalsvik (ttjarl) >Assigned to: Sacha Labourey (slaboure) Summary: Inaccurate deployment error message Initial Comment: org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationM etaData throws a DeploymentException with the errormessage "Atleast one role of a foreign-key mapped relationship must have key fields" when <primkey-field> is missing in ejb-jar.xml. The errormessage suggests that something is wrong with jbosscmp-jdbc.xml (missing key fields), but it should also make a hint that the <primkey-field> in ejb- jar.xml file could be missing. Os: Windows 2000 JDK: Sun VM 1.3.1 & Sun VM 1.4.1 JBoss: 3.0.4 with Tomcat 4.1.12 How to reproduce: Remove the <primkey-field> from a valid ejb-jar.xml file containing CMPs with one-to-many relationship(s). ---------------------------------------------------------------------- >Comment By: Sacha Labourey (slaboure) Date: 2003-05-03 13:39 Message: Logged In: YES user_id=95900 fixed in 3.0, 3.2 and head ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=654181&group_id=22866 |