🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Fun never ends, nature of the beast

#238
From: Mehmet F. Erten
Date: Fri, 11 Aug 2006 21:49
55 lines
3246 bytes
John,
Don't forget this table usage.
It is a work table, never saved.
It is always empty in the database.
if I close and open it (no where clause) it will bring nothing since there 
is no record in it.
Later if I insert some rows, they will be in it until it is refreshed or 
closed.
After whenever I open it, it should be again an empty table.
At this time I will stick to the workaround since it is an isoloated 
incident (one program) and I won't spend any time to fix it (still I have to 
discover a lot about InterBase as scheduled batch Backup: I will post this 
in interbase.general)
Thanks for your help.

"John Moore (TeamB)" <jbm@microps.com> wrote in message 
news:44dccc95$1@newsgroups.borland.com...
> Mehmet F. Erten wrote:
>> Hi,
>> I use QueryDataSet.
>> This was working OK with JDataStore.
>> And it works with InterBase in many other codes I have.
>> In this occation closing and opening again does not get rid of the rows.
>
> It never should drop rows due to closing or opening..
>
> But
>> I also do not get any Exception (if any reason these rows or this table 
>> are locked.
>
> That is not applicable to the QueryDataSet..  The QDS is an in memory 
> table and is not connected to the database.. (Provide/Resolve model) so 
> locking does not apply.
>
>> So I check row count and delete them all if there is any.
>> I am reading the table columns without any condition and since there is 
>> no data, it should be empty all the time when I open or refresh it.
>> In this case, it is not, does not matter if refreshed or closed/opened 
>> the previous rows stays.
>
> It should stay.. (based on what you have said..)
>
>>
>>
>>
>>
>
>
> -- 
> =============================================
> 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: <44dcfb51$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44d8da2b$1@newsgroups.borland.com> <44da23d6$1@newsgroups.borland.com> <44da3b7a@newsgroups.borland.com> <44db7e32@newsgroups.borland.com> <44dba300$1@newsgroups.borland.com> <44dccc95$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,1edbdc0ef701870a
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Mehmet F. Erten" <mehmet_erten@mblsoft.com>
From: "Mehmet F. Erten" <mehmet_erten@mblsoft.com>
Newsgroups: borland.public.jbuilder.database
References: <44d8da2b$1@newsgroups.borland.com> <44da23d6$1@newsgroups.borland.com> <44da3b7a@newsgroups.borland.com> <44db7e32@newsgroups.borland.com> <44dba300$1@newsgroups.borland.com> <44dccc95$1@newsgroups.borland.com>
Subject: Re: Fun never ends, nature of the beast
Date: Fri, 11 Aug 2006 17:49:03 -0400
Lines: 57
Organization: MBL Systems, Inc
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 71.250.239.59
Message-ID: <44dcfb51$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1155332945 71.250.239.59 (11 Aug 2006 14:49:05 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail