private Connection conn;
your class would not be serializable because the sql Connection class isn't. So you do this:
private transient Connection conn;
David
From: Eddie Bush <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Serialization question...
Date: Mon, 28 Oct 2002 11:18:37 -0600
I don't see anything regarding serialization that talks about a possibility to mark members as transient. Would you happen to have references Thomas?
Gideon, Thomas wrote:
--Can't you also mark your members as transient if you don't want them serialized? So shouldn't a combination of Serializable and transient properties also meet the requirement for serializing the object itself? Just curious if anyone is even using the transient keyword...Thomas Gideon Sr. Software Developer B2eMarkets 301.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com
Eddie Bush
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
_________________________________________________________________
Broadband?�Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

