Serialize PreparedStatement
1 posts in topic
Flat View  Flat View

Posted By:   Vidja_S
Posted On:   Friday, May 4, 2001 01:38 PM

Is there a way to serialize PreparedStatement object?

Re: Serialize PreparedStatement

Posted By:   Tim_Rohaly  
Posted On:   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.
About | Sitemap | Contact