Hi!
Jakob Braeuchi wrote:
> public class PersonPK implements java.io.Serializable
> {
> public long id;
> }
Note that this is not a valid primary key class. equals() and hashCode()
methods are missing.
> 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.
Remove the "primkey-field" element from your ejb-jar.xml file. See EJB
specification for details on why.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
- [jBoss-User] CMP deployment Section: 9.4.7.1 Jakob Braeuchi
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Rickard �berg
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Kenworthy, Edward
- Re: [jBoss-User] CMP deployment Section: 9.4.7.1 Jakob Braeuchi
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Jakob Braeuchi
- Re: [jBoss-User] CMP deployment Section: 9.4.7.... Rickard �berg
- Re: [jBoss-User] CMP deployment Section: 9.4.7.1 Jakob Braeuchi
- Re: [jBoss-User] CMP deployment Section: 9.4.7.... Rickard �berg
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Kenworthy, Edward
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Jay Walters
- RE: [jBoss-User] CMP deployment Section: 9.4.7.1 Kenworthy, Edward
- Re: [jBoss-User] CMP deployment Section: 9.4.7.1 Jakob Braeuchi
