<sound of hand slapping forhead>
:)
eek.
thanks!
-----Original Message-----
From: Evan Ireland [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 28, 2000 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [EJB-INT] null values in primitive fields
Adena Galinsky wrote:
>
> Some of our optional fields are represented as primitive types (int, long
> etc) in our entity beans and in the (Oracle) database.
> What is the standard way of indicating that the value was left blank? We
> have created our own standard (-1 = null), but if there's a standard way
to
> handle this, we'd like to change it.
Change your entity beans to use java.lang.Integer in place of 'int' whenever
a DB column allows NULL.
> thanks,
> Adena
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
--
____________________________________________________________________________
____
Evan Ireland Sybase EAServer Engineering
[EMAIL PROTECTED]
Wellington, New Zealand +64 4
934-5856
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".