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]

Reply via email to