🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Batch updates

#438
From: Kevin Dean [TeamB]
Date: Mon, 12 Dec 2005 11:34
27 lines
2049 bytes
Simon Bisson wrote:

>Hi, is it possible to make the query resolver do a series of
>insert/update/delete as a batch update (for an array of
>datasets)?  Thanks, Simon

The underlying data set architecture does updates in batch already.  When 
you post a record, you save changes to the internally cached copy of the 
record set.  It's the saveChanges() method that actually goes out to the 
back-end and updates everything.

If you're looking specifically for the ability to use the database's batch 
update capabilities, then you would have to write your own resolver; see 
"Database Application Developer's Guide" in the online help.

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <xn0eaw9ylxtq3000-kdean@www.teamb.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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: <439d6272$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,3fa290d0f3c37040
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Batch updates
Newsgroups: borland.public.jbuilder.database
References:  <439d6272$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.6.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0eaw9ylxtq3000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000003E4
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
NNTP-Posting-Host: 199.243.78.163
Date: 12 Dec 2005 04:34:18 -0700
X-Trace: newsgroups.borland.com 1134390858 199.243.78.163 (12 Dec 2005 04:34:18 -0700)
Lines: 27
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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