While the client allows maximum 65534 statements per batch (Ref. DERBY-428), the embedded driver allows a much higher number of statements per batch. (At least 100000 statements works).
Document and/or change Derby client code to match behavior with Embedded driver where possible.
NetworkClient PreparedStatement.executeBatch() hangs if batch is too large (ArrayIndexOutOfBoundsException in Network Server)