2 Replies Latest reply: Jan 28, 2013 1:32 AM by YosiKalfon RSS

    Extrernal Table Example (delete option) Bug

    YosiKalfon
      Hi,

      There is a bug in the external table code (version 2.0.23) when trying to delete rows from the Oracle NoSQL DB.

      java -classpath lib/kvclient-2.0.23.jar:examples externaltables.LoadCookbookData \
      -store kvstore -host xxxx -port 5000 -delete

      the rows are deleted but default 10 rows are re-inserted.

      change the code in LoadCookbookData.java as follow

      private void run() {
      if (deleteExisting) {
      deleteExistingData();
      }
      else
      *{*  

      doLoad();
      *}*
      }