Many thanks,
It is actually the case. I changed it yesterday and worked fine.
Many thanks.
Farid.
-----Original Message-----
From: Jeremy Boynes [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 21:22
To: JBoss-User
Subject: RE: [jBoss-User] Using CMP with JBOSS 2 Final and Oracle
7.3.4.3
I would guess that the field variable you are trying to load into is a
primitive type (e.g. int) which cannot be set to the null value read from
the database.
Workarounds would be to change the database column to NOT NULL (with
suitable defaults) or to use a Object type e.g. change int to
java.lang.Integer. If your code is not expecting nulls though, this might
just move the NPE from JAWS into your code.
Jeremy
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of OudjaneF
> Sent: Tuesday, March 13, 2001 9:05 AM
> To: JBoss-User
> Subject: RE: [jBoss-User] Using CMP with JBOSS 2 Final and Oracle
> 7.3.4.3
>
>
> Hello,
>
> I have actually checked and the problems happens only when I try to
> load an entity bean with one of the columns being null. Looking in the
> archives I have found some other people having the same problem but no
> solution. If anybody knows a little bit more or could give a hand on this
> one I would be very grateful.
>
> Thanks,
> Farid.
>
>
> Disclaimer
>
> This communication together with any attachments transmitted with
> it ('this E-mail') is intended only for the use of the addressee
> and may contain information which is privileged and confidential.
> If the reader of this E-mail is not the intended recipient or the
> employee or agent responsible for delivering it to the intended
> recipient you are notified that any use of this E-mail is
> prohibited. Addressees should check this E-mail for viruses. The
> Carphone Warehouse Group PLC makes no representations as regards
> the absence of viruses in this E-mail. If you have received this
> E-mail in error please notify our IT Systems Team immediately by
> telephone on + 44 (0)20 8896 5373 or via E-mail at
> [EMAIL PROTECTED] Please then immediately destroy this E-mail
> and any copies of it.
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Disclaimer
This communication together with any attachments transmitted with it ('this E-mail')
is intended only for the use of the addressee and may contain information which is
privileged and confidential. If the reader of this E-mail is not the intended
recipient or the employee or agent responsible for delivering it to the intended
recipient you are notified that any use of this E-mail is prohibited. Addressees
should check this E-mail for viruses. The Carphone Warehouse Group PLC makes no
representations as regards the absence of viruses in this E-mail. If you have received
this E-mail in error please notify our IT Systems Team immediately by telephone on +
44 (0)20 8896 5373 or via E-mail at [EMAIL PROTECTED] Please then immediately
destroy this E-mail and any copies of it.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]