You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Jakob Braeuchi <jb...@gmx.ch> on 2003/02/05 22:06:39 UTC
problem with multiple updates on same object (mark for store)
hi matthew,
i think we have a problem with multiple updates on the same object.
the testcase PersistanceBrokerTest.testEscaping fails because of this.
Article a = createArticle(testId);
a.setArticleName("Single quote 'article");
storeArticle(a); --> INSERT
...
a.setArticleName("2 Single quotes 'article'");
storeArticle(a); --> UPDATE
...
a.setArticleName("double quote \"article");
storeArticle(a); --> does NOT update the article due to mark
for store
can you pleas have a look at it ?
jakob