public ClientSidePreparedStatement clientPrepareStatement(final String sql)
      throws SQLException {
    return new ClientSidePreparedStatement(this,
        sql,
        ResultSet.TYPE_FORWARD_ONLY,
        ResultSet.CONCUR_READ_ONLY,
        Statement.RETURN_GENERATED_KEYS);
  }
public ClientSidePreparedStatement clientPrepareStatement ( final String sql ) throws SQLException { return new ClientSidePreparedStatement ( this , sql , ResultSet . TYPE_FORWARD_ONLY , ResultSet . CONCUR_READ_ONLY , Statement . RETURN_GENERATED_KEYS ) ; }
Create a new client prepared statement.

@param sql the query.
@return a client prepared statement.
@throws SQLException if there is a problem preparing the statement.