🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dataset.post and row corruption problem

#376
From: John Moore (TeamB)
Date: Tue, 30 Jan 2007 00:24
48 lines
2734 bytes
Nicolas,

I know from the back-end Querydataset end, I have never seen a post() 
cause what you are describing..

My first guess is that it is related to the "front-end" issues with 
JdbTable.. and your EditAdapters..

You will get better help on that by posting your question in the dbswing 
section.. (I never use the GUI tools, strictly server back-end stuff)


John..

Nicolas GASNIER wrote:
> 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. 
> 
> 


-- 
=============================================
TeamB are volunteer helpers.  Please DO NOT REPLY VIA EMAIL!
Post all questions and replies to this newsgroup ONLY
For papers on DataExpress, Applets, JSP, and Web Development go to:
http://www.microps.com/mps/paperFAQ.html
====================================================
Technical Details
Message-ID: <45be9009@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45bdcb34$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,db35f58655f23bae
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 29 Jan 2007 16:24:36 -0800
From: "John Moore (TeamB)" <jbm@microps.com>
User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.database
Subject: Re: Dataset.post and row corruption problem
References: <45bdcb34$1@newsgroups.borland.com>
In-Reply-To: <45bdcb34$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 207.137.13.178
Message-ID: <45be9009@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170116617 207.137.13.178 (29 Jan 2007 16:23:37 -0800)
Lines: 48
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail