db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject problem with multiple updates on same object (mark for store)
Date Wed, 05 Feb 2003 21:06:39 GMT
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 ?


View raw message