1, 2009 5:55:25 PM
> Subject: Re: how to insert records in database in the order of insertion to EC
>
> Or if you want the order of the PKs to be the same order as your insertion
> into the EC, you can try calling
>
> eo.primaryKeyInTransaction(or sth like that)
>
&g
http://www.mail-archive.com/
webobjects-dev@lists.apple.com/msg25975.html
From: Kieran Kelleher
To: Shravan Kumar. M
Cc: Chuck Hill ; WO Dev Group d...@lists.apple.com>
Sent: Sun, November 1, 2009 5:55:25 PM
Subject: Re: how to insert records in database in the order of
insertion to EC
O
On Nov 1, 2009, at 8:22 AM, Shravan Kumar. M wrote:
clearly order "matters" to you, which means that ordering is "real
data" and should be represented in your db explicitly, not achieved
with trickery.
+1
PKs and FKs are artifacts of the DB, not data. One of the banes of my
current job
, 2009 6:39:32 PM
Subject: Re: [SOLVED] how to insert records in database in the order of
insertion to EC
100% with chuck here ... the database is an unordered set. don't depend on
this. don't play pk tricks. if you want a specific order, add a field that
represents this specific orde
d to DB.
Thanks again Chuck for your insight!!!
From: Chuck Hill
To: Shravan Kumar. M
Cc: WO Dev Group
Sent: Sun, November 1, 2009 9:34:31 AM
Subject: Re: how to insert records in database in the order of
insertion to EC
On Oct 31, 2009, at 8:46 PM, Shravan Kumar. M wrote:
> Thanks so m
e.com/msg25975.html
From: Kieran Kelleher
To: Shravan Kumar. M
Cc: Chuck Hill ; WO Dev Group
Sent: Sun, November 1, 2009 5:55:25 PM
Subject: Re: how to insert records in database in the order of insertion to EC
Or if you want the order of the PKs to be the same ord
: Shravan Kumar. M
Cc: WO Dev Group
Sent: Sun, November 1, 2009 9:34:31 AM
Subject: Re: how to insert records in database in the order of
insertion to EC
On Oct 31, 2009, at 8:46 PM, Shravan Kumar. M wrote:
> Thanks so much for your quick response Chuck.
>
> We use Frontbase. I have no
gt; From: Chuck Hill
> To: Shravan Kumar. M
> Cc: WO Dev Group
> Sent: Sun, November 1, 2009 8:49:54 AM
> Subject: Re: how to insert records in database in the order of insertion to EC
>
>
> On Oct 31, 2009, at 6:57 PM, Shravan Kumar. M wrote:
>
> > Hi Group,
ubject: Re: how to insert records in database in the order of
insertion to EC
On Oct 31, 2009, at 6:57 PM, Shravan Kumar. M wrote:
> Hi Group,
>
> Could any one please advise me how can I insert records in
database in a specific order or as per the order of insertion of
objects to
me" field would solve this issue!!!
From: "Chan Yeow Heong, Jerome"
To: Shravan Kumar. M
Sent: Sun, November 1, 2009 8:46:39 AM
Subject: Re: how to insert records in database in the order of insertion to EC
Do a save after each insert?
Add in
rtOrder" field to my
table would fix this issue.
Thank You,
Shravan Kumar. M
From: Chuck Hill
To: Shravan Kumar. M
Cc: WO Dev Group
Sent: Sun, November 1, 2009 8:49:54 AM
Subject: Re: how to insert records in database in the order of insertion to EC
On
On Oct 31, 2009, at 6:57 PM, Shravan Kumar. M wrote:
Hi Group,
Could any one please advise me how can I insert records in database
in a specific order or as per the order of insertion of objects to
EditingContext
AFAIK, you can't. The order of insertion is not tracked.
for eg:
I hav
Hi Group,
Could any one please advise me how can I insert records in database in a
specific order or as per the order of insertion of objects to EditingContext
for eg:
I have inserted objects to EC in the following order: A1, A2, A3, A4, A5 (and
then saved the EC once - editingContext.saveChan
13 matches
Mail list logo