Bug #17240 Document about ServerPreparedStatement is different from current implementation
Submitted: 8 Feb 2006 19:01 Modified: 8 Jan 2007 10:55
Reporter: Tetsuro Ikeda Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Documentation Severity:S3 (Non-critical)
Version:3.1.11 OS:
Assigned to: MC Brown CPU Architecture:Any

[8 Feb 2006 19:01] Tetsuro Ikeda
Description:
Here is about  JDBC API Implementation Notes
http://dev.mysql.com/doc/refman/5.0/en/cj-implementation-notes.html

This says, the "large-data" will be sent to server before PreparedStatement.execute() is called.
But current C/J sends "large-data" when PreparedStatement.execute() is called, as well as "non-large-dta".

How to repeat:
See com.mysql.jdbc.ServerPreparedStatement.setBinaryStream() method, etc.

Suggested fix:
The document should be fixed.
[8 Jan 2007 10:55] MC Brown
I've updated the data accordingly, after discussion with Mark on the issue.