OK fixed that: I'd not included the <cmp-field> tags in the deployment
descriptor.  Now I have a new error:

I'm using an int as the primary key but I'm not sure what to put in the
<prim-key-class> tag.  I've tried "int" and even "java.lang.int" just incase.
Do I need to change everything to use Integer if I can't refer to the primary
types or is there another way?

Thanks again,
Tim.


>===== Original Message From "jBoss" <[EMAIL PROTECTED]> =====
>Hopfully just an obvious mistake:
>
>I've created an container managed entity bean: dev.mywds.chat.user
>On deployment, the following error occurs (full dump below):
>[Container factory] java.lang.NullPointerException
>[Container factory]    at
>org.jboss.ejb.plugins.jaws.metadata.PkFieldMetaData.getColumnName(PkFieldMeta
D
>ata.java:86)
>
>I gather it's becasue it can't find the db table.  I've called the bean the
>same as the table ( <ejb-name>chat_users</ejb-name> ) and the column names
>match the beans variables.
>
>Any ideas?
>
>Thanks, Tim.
>


Totalise - the Users ISP
----------------------
To become a member and a shareholder
visit http://www.totalise.net
-----------------------
"New 2001 BMW 325 Ci - Save �2,600 on UK list with no wait. Visit www.eurekar.com"





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

Reply via email to