Re: Serialize PreparedStatement
Thursday, May 17, 2001 09:15 AM
If you think about it for a moment, it makes no
sense at all to try to serialize a PreparedStatement.
That is why the PreparedStatement interface
doesn't extend Serializable. If you want to
save your SQL for later, serialize the String -
but even that is very DB and driver specific, so it may
not be meaningful in another VM.