rickard,

we were talking on IRC it seems the jrmp13/12 in EJX is obsolete (besides
the fact that the one in JBoss is buggy still ;-)... does the new EJX take
care of that? (no empty constructor)

amrc


|-----Original Message-----
|From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]]
|Sent: Friday, December 08, 2000 5:39 AM
|To: [EMAIL PROTECTED]
|Subject: RE: [jBoss-User] CMP deployment Section: 9.4.7.1
|
|
|hi,
|
|that's the lesson i've learned today !
|i built the ejb-jar.xml with the ejx-tool and it didn't complain about it.
|
|jakob
|
|>From: Jay Walters <[EMAIL PROTECTED]>
|>Reply-To: "jBoss" <[EMAIL PROTECTED]>
|>To: 'jBoss' <[EMAIL PROTECTED]>
|>Subject: RE: [jBoss-User] CMP deployment Section: 9.4.7.1
|>Date: Fri, 8 Dec 2000 08:22:09 -0500
|>
|>Looking at the examples provided with JBoss you need to do what Rickard
|>says, if you supply a primary key class you don't need to mark any fields
|>as
|>primary key fields.
|>
|>Cheers
|>Jay Walters
|>
|>-----Original Message-----
|>From: Kenworthy, Edward [mailto:[EMAIL PROTECTED]]
|>Sent: Friday, December 08, 2000 7:59 AM
|>To: 'jBoss'
|>Subject: RE: [jBoss-User] CMP deployment Section: 9.4.7.1
|>
|>
|>
|>:-)
|>
|>The problem is in your deployment descriptor. Check the primkey-field (I
|>think doing this off the top of my head.)
|>
|>-----Original Message-----
|>From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]]
|>Sent: 08 December 2000 12:30
|>To: [EMAIL PROTECTED]
|>Subject: RE: [jBoss-User] CMP deployment Section: 9.4.7.1
|>
|>
|>hi,
|>
|>as i understand the warning, the id attribute of my PersonBean
|should be of
|>type PersonPK ?? but this does not match the samples i have.
|>
|>jakob
|>
|>
|> >From: "Kenworthy, Edward" <[EMAIL PROTECTED]>
|> >Reply-To: "jBoss" <[EMAIL PROTECTED]>
|> >To: 'jBoss' <[EMAIL PROTECTED]>
|> >Subject: RE: [jBoss-User] CMP deployment Section: 9.4.7.1
|> >Date: Fri, 8 Dec 2000 12:14:28 -0000
|> >
|> >Reading the warning ! and change your deployment descriptor accordingly.
|> >
|> >-----Original Message-----
|> >From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]]
|> >Sent: 08 December 2000 12:08
|> >To: [EMAIL PROTECTED]
|> >Subject: [jBoss-User] CMP deployment Section: 9.4.7.1
|> >
|> >
|> >hi,
|> >
|> >i'm using a simple CMP entity bean:
|> >
|> >public class PersonBean implements EntityBean
|> >{
|> >    transient private EntityContext entityContext;
|> >
|> >    public long id;
|> >    public java.lang.String name;
|> >    public java.lang.String vorname;
|> >    public java.lang.String adresse;
|> >    public java.util.Date geburtsDatum;
|> >    public boolean boss;
|> >    public int test;
|> >}
|> >
|> >and i also have a primaryKey:
|> >
|> >public class PersonPK implements java.io.Serializable
|> >{
|> >    public long id;
|> >}
|> >
|> >when deploying the bean i get the following warning:
|> >
|> >[Verifier]
|> >Bean   : Person
|> >Section: 9.4.7.1
|> >Warning: The type of the field named in the primkey-field element must
|> >match
|> >
|> >the class in the prim-key-class element.
|> >
|> >accessing the Persons using a finder works well, but i'm not able to
|> >findByPrimaryKey.
|> >
|> >thanks
|> >
|> >Jakob Braeuchi
|> >
|>
|>__________________________________________________________________
|_________
|>_
|> >_________
|> >Get more from the Web.  FREE MSN Explorer download :
|> >http://explorer.msn.com
|> >
|> >
|> >
|> >--
|> >--------------------------------------------------------------
|> >To subscribe:        [EMAIL PROTECTED]
|> >To unsubscribe:      [EMAIL PROTECTED]
|> >Problems?:           [EMAIL PROTECTED]
|> >
|> >
|> >--
|> >--------------------------------------------------------------
|> >To subscribe:        [EMAIL PROTECTED]
|> >To unsubscribe:      [EMAIL PROTECTED]
|> >Problems?:           [EMAIL PROTECTED]
|> >
|>
|>__________________________________________________________________
|__________
|>_________
|>Get more from the Web.  FREE MSN Explorer download :
|>http://explorer.msn.com
|>
|>
|>
|>--
|>--------------------------------------------------------------
|>To subscribe:        [EMAIL PROTECTED]
|>To unsubscribe:      [EMAIL PROTECTED]
|>Problems?:           [EMAIL PROTECTED]
|>
|>
|>--
|>--------------------------------------------------------------
|>To subscribe:        [EMAIL PROTECTED]
|>To unsubscribe:      [EMAIL PROTECTED]
|>Problems?:           [EMAIL PROTECTED]
|>
|>
|>--
|>--------------------------------------------------------------
|>To subscribe:        [EMAIL PROTECTED]
|>To unsubscribe:      [EMAIL PROTECTED]
|>Problems?:           [EMAIL PROTECTED]
|>
|
|___________________________________________________________________
|__________________
|Get more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to