[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-22 Thread loubyansky
CustomerAddress has prim-key-class java.lang.Long. That's why it expects the primkey-field. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843052#3843052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843052

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-22 Thread dgreen999
I have confirmed that there is no other jbosscmp-jdbc.xml, and I know that it's finding the given one since if I change the example code to use a non-composite primary key the whole thing works. >From the error message, it looks like JBoss is looking for a in the >ejb-jar.xml, but obviously th

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-22 Thread loubyansky
The deployment descriptors seem to be ok. But looks like the jbosscmp-jdbc.xml is not found or another version of it is used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842909#3842909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-21 Thread dgreen999
The problem is the same as the described in the first posting of this thread. here's the full stack trace: | | org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped relationship must have key fields (or is missing from ejb-jar.xml): ejb-relation-name=Custome

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-09 Thread loubyansky
What is the problem now? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841480#3841480 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841480 --- This SF.Net email sp

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-07 Thread dgreen999
Fantastic! That's good news. After reading the JBossCMP.pdf, I've still got problems. Perhaps you could tell me what I'm doing wrong. Here are my deployment descriptors. my ejb-jar.xml: | | FooBar | | | Customer | Customer | com.acme.foobar.object

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-07 Thread somporn_aa
Alexey Loubyansky CMP Lead Developer JBoss, Inc I think you Expert ofr JBoss I have Some Problem to ask you JBoss Support Multi Compond Primary Key Or Multi Composite Primary Keys in such sutiation as I have 2 Entity bean and How Specifice in XDoclet tag SALEOrderBean have 2 Primary keys wich

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR and compound primary keys

2004-07-07 Thread loubyansky
Supported. If you declare relationships in jbosscmp-jdbc.xml you should map the key fields (primary to foreign key mapping). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841156#3841156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin