This discussion is archived
2 Replies Latest reply: Jan 27, 2013 11:32 PM by 984892 RSS

Extrernal Table Example (delete option) Bug

984892 Newbie
Currently Being Moderated
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();
*}*
}