Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    2.6.2, 2.7.1
- 
    None
Description
If java.io.NotSerializableException is thrown as a result of incorrect data bind to a prepared statement parameter, JDBC driver closes the connection. 
Instead,  it should treat java.io.NotSerializableException differently similar to how it is handling MaxAllowedPacketException.
NotSerializableException is a transient exception that can be handled without having to close the connection.