Bugs item #654181, was opened at 2002-12-15 20:27
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: Open
Resolution: None
Priority: 5
Submitted By: Jarl Petter Kvalsvik (ttjarl)
Assigned to: Nobody/Anonymous (nobody)
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).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=654181&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to