Discussion:
[Middlegen-user] JBOSS 3.0 multiplicity many using foreign-key mapping
Grant Marblestone
2002-04-12 14:59:07 UTC
Permalink
ANYONE?
I am so close i cant taste it... can anyone tell me what i am doing
wrong?


Thanks,
Grant


12:02:00,122 ERROR [EntityContainer] Exception in service lifecyle
operation: create
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
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loa
dKeyFields(JDBCRelationshipRoleMetaData.java:35
3)
Ta'id Holmes
2002-04-12 16:03:39 UTC
Permalink
Hi Grant!
Post by Grant Marblestone
qcrpt_init_phase-has-cont_qc_rpt with multiplicity many using
foreign-key mapping is not allowed to have key-fields
I do have the same problem (as explained some mails ago) like you. :-/

Have a look at http://main.jboss.org/thread.jsp?forum=46&thread=12702
and compare it to your jboss-jdbc.xml which is generated from XDoclet
in the end.

If you see what's wrong/different -> let us (esp. the XDoclet-Developers)
know! :-)
I did not had the time yet to do so myself (on this way: thanks for your
committment Aslak! (Grant: you might find his reply to my mail usefull
for your situation as well.))

Greetings
...
Ta'id
`-Ž
--
email: Ta'***@Holmes.at
homepage: http://taid.holmes.at/
PGP Public-Key: write any mail to taid+***@holmes.at or get it at
https://taid.holmes.at/tholmes.public.gpg
Ta'id Holmes
2002-04-12 16:10:13 UTC
Permalink
Hi Grant!
Post by Grant Marblestone
qcrpt_init_phase-has-cont_qc_rpt with multiplicity many using
foreign-key mapping is not allowed to have key-fields
I do have the same problem (as explained some mails ago) like you. :-/

Have a look at http://main.jboss.org/thread.jsp?forum=46&thread=12702
and compare it to your jboss-jdbc.xml which is generated from XDoclet
in the end.

If you see what's wrong/different -> let us (esp. the XDoclet-Developers)
know! :-)
I did not had the time yet to do so myself (on this way: thanks for your
committment Aslak! (Grant: you might find his reply to my mail usefull
for your situation as well.))

Greetings
...
Ta'id
`-Ž
--
email: Ta'***@Holmes.at
homepage: http://taid.holmes.at/
PGP Public-Key: write any mail to taid+***@holmes.at or get it at
https://taid.holmes.at/tholmes.public.gpg
Aslak Hellesøy
2002-04-14 20:55:09 UTC
Permalink
This is clearly a JBoss exception. Please seek help at jboss' mailing lists
for app-server related problems.

Aslak

-----Original Message-----
From: middlegen-user-***@lists.sourceforge.net
[mailto:middlegen-user-***@lists.sourceforge.net]On Behalf Of Grant
Marblestone
Sent: 12. april 2002 19:06
To: xdoclet-user-***@lists.sourceforge.net
Cc: middlegen-user-***@lists.sourceforge.net
Subject: [Middlegen-user] JBOSS 3.0 multiplicity many using foreign-key
mapping


ANYONE?
I am so close i cant taste it... can anyone tell me what i am doing wrong?


Thanks,
Grant


12:02:00,122 ERROR [EntityContainer] Exception in service lifecyle
operation: create
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
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loadKey
Fields(JDBCRelationshipRoleMetaData.java:35
3)
Mark Lui
2002-04-14 23:49:07 UTC
Permalink
Are you doing a many to many mapping? Because the foreign-key mapping style
is only allowed for one-to-one and one-to-many relationships.

Mark
Post by Aslak Hellesøy
-----Original Message-----
Hellesøy
Sent: Sunday, April 14, 2002 2:55 PM
Subject: RE: [Middlegen-user] JBOSS 3.0 multiplicity many using
foreign-key mapping
This is clearly a JBoss exception. Please seek help at jboss'
mailing lists
for app-server related problems.
Aslak
-----Original Message-----
Marblestone
Sent: 12. april 2002 19:06
Subject: [Middlegen-user] JBOSS 3.0 multiplicity many using foreign-key
mapping
ANYONE?
I am so close i cant taste it... can anyone tell me what i am doing wrong?
Thanks,
Grant
12:02:00,122 ERROR [EntityContainer] Exception in service lifecyle
operation: create
qcrpt_init_phase-has-cont_qc_rpt with multiplicity many using foreign-key
mapping
is not allowed to have key-fields
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaDa
ta.loadKey
Fields(JDBCRelationshipRoleMetaData.java:35
3)
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...