Support for serializing prepared statements
Brought to you by:
perdom
Prepared statements are not really useful in textual format. One of the advantages of prepared statements is that I don't have to worry about escaping special characters in column values. If the prepared statements can be logged in binary format, then that can be used to replay them. I suggest that in addition to sending queries to be displayed on the client, option should be provided to serialize Statement and PreparedStatement objects onto a file.