public static void send ( final PacketOutputStream pos , final int statementId , final ParameterHolder [ ] parameters , final int parameterCount , ColumnType [ ] parameterTypeHeader , byte cursorFlag ) throws IOException { pos . startPacket ( 0 ) ; writeCmd ( statementId , parameters , parameterCount , parameterTypeHeader , pos , cursorFlag ) ; pos . flush ( ) ; }
Send a prepare statement binary stream .