🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #375

Dataset.post and row corruption problem

#375
From: Nicolas GASNIER
Date: Mon, 29 Jan 2007 10:24
22 lines
1886 bytes
Hi,

I have a problem with a QueryDataSet. The dataset is a detail dataset of 
another one with a masterlink. I am trying to create a new row 
programmatically with DataSet.insertRow(), then a bunch of set and finally 
DataSet.post(). Things are ok until I do the post() : at that time, the 
rowValues are "corrupted" so that my posted row looks like a copy of the row 
just before it. There is something that change my row values, but what ?

Note that the QueryDataSet is bound to a JdbTable at that time, and there is 
two EditAdapter on it : one that change edit date time, and another that set 
the masterlink id column to the right value on row adding. These edit 
adapters do nothing else, so I don't think they may be responsible of this 
data corruption.

Any idea of what is going on ? I suspect a masterlink subtility or bug 
(sometimes it gets difficult to get the right behaviour with it), but I 
don't know how to correct this.

Regards.

Nicolas GASNIER. 
Technical Details
Message-ID: <45bdcb34$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,db35f58655f23bae,start
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Nicolas GASNIER" <ngasnier@rsid.fr>
From: "Nicolas GASNIER" <ngasnier@rsid.fr>
Newsgroups: borland.public.jbuilder.database
Subject: Dataset.post and row corruption problem
Date: Mon, 29 Jan 2007 11:24:53 +0100
Lines: 24
Organization: RSID
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 217.128.172.154
Message-ID: <45bdcb34$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170066228 217.128.172.154 (29 Jan 2007 02:23:48 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail