Hi,
Though I haven't tried but I don't think it should be a problem.
Because the primitive data types and the Arrays are internally treated
as
instances of java.lang.Class. And this class in turn implements
Serializable interface.
regards,
Nikhil.
-----Original Message-----
From: Darya Said-Akbari [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: Not 'int' but 'Integer' in Cabin example by Richard
Monson-Haefel
Hi,
I wonder that anybody could run the Cabin example from
chapter 4 of Richard Monson-Haefel EJB book.
In the CabinPK class he use 'int' instead of 'Integer'
for declaration. Shouldn't it be 'Integer' since
CabinPK implements the Serializable interface?
When you try it opposite, to model your Cabin EJB
begining with your Database table CABIN, then the
JBuilder4 wizard only use Integer instead of int.
If anyone could run the example like given in the
book,
please let me know.
Best regards,
Darya
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
========================================================================
===
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".