See DERBY-2631 for details. Desired functionality is the same as for DERBY-2631, except that this issue is specifically for Derby Client (DERBY-2631 only addressed embedded mode).
Derby NetworkClient throws exception in preparestatement(string sql, string columnnames)
Document and/or change Derby client code to match behavior with Embedded driver where possible.
Statement.executeUpdate(String sql, String columnNames) throws ERROR X0X0F.S exception with EmbeddedDriver
Expose existing auto-generated key functionality through more JDBC APIs in embedded mode.