> ends. Then unlock EC1
> 8. finally, in an unrelated EC3 insert some unrelated new object and
> saveChanges...
>
> ... and at least at my side, I get “Cannot obtain globalId for an object
> which is registered in an other than the databaseContext's active
> editingContex
d EC3 insert some unrelated new object and
saveChanges...
... and at least at my side, I get “Cannot obtain globalId for an object which
is registered in an other than the databaseContext's active editingContext“
exception all right!
I believe the steps above are completely valid and should
Hi there,
again in about 2 years the $subject did happen:
“Cannot obtain globalId for an object which is registered in an other than the
databaseContext's active editingContext, object:
[USER#1000175@EC:34ea315d/OSC:77b7ffa4], databaseContext:
com.webobjects.eoaccess.EODatabaseContext@51
From: Ricardo Parada
> Date: Tuesday, September 20, 2016 at 3:19 PM
> To: Chuck Hill
> Cc: "webobjects-dev@lists.apple.com"
> Subject: Re: Cannot obtain globalId for an object which...
>
> Hi Chuck,
>
> I followed the steps of the code and I noticed that the obj
cardo Parada
Date: Tuesday, September 20, 2016 at 3:19 PM
To: Chuck Hill
Cc: "webobjects-dev@lists.apple.com"
Subject: Re: Cannot obtain globalId for an object which...
Hi Chuck,
I followed the steps of the code and I noticed that the object containing the
to-many relationship in qu
com"
> Subject: Cannot obtain globalId for an object which...
>
>
> Hi all,
>
> All of a sudden one of our apps started getting this. Does anybody know why
> this would happen? It did not seem to have a problem before until now.
>
> Cannot obtain global
e.com"
Subject: Cannot obtain globalId for an object which...
Hi all,
All of a sudden one of our apps started getting this. Does anybody know why
this would happen? It did not seem to have a problem before until now.
Cannot obtain globalId for an object which is registered in an othe
Hi all,
All of a sudden one of our apps started getting this. Does anybody know why
this would happen? It did not seem to have a problem before until now.
Cannot obtain globalId for an object which is registered in an other than the
databaseContext's active editingContext,
o
- 1: INSERT on 'DBUserAuction' 4{creationDate:2015-02-25 10:00:19 Etc/GMT,
user_id:142, auction_id:1000260, favourited:false}
- 2: UPDATE on 'DBAuction' ((uid = 1000260) and (commodityPriceSelectionType =
1040355))
1{commodityTimechunksString:}
cannot save changes: Cannot obt
tion_id:1000260, favourited:false}
- 2: UPDATE on 'DBAuction' ((uid = 1000260) and (commodityPriceSelectionType =
1040355))
1{commodityTimechunksString:}
cannot save changes: Cannot obtain globalId for an object which is registered
in an other than the databaseContext's active editingConte
On 04/03/2009, at 5:45 AM, Simon McLean wrote:
i guess we were breaking one of the wo-commandments somewhere in
there, but
i've been through it over and over again and can't see where the
second ec
was getting created.
Probably the willInsert's object's ec which still has the lock?
with r
>> favorite ERXFetchSpecificationBatchIterator.
>>
>
> Good.
>
> However, when I call this (in
>> place of the above):
>>
>> ERXFetchSpecificationBatchIterator fsbi =
>> newERXFetchSpecificationBatchIterator(fs, ec);
>>
>> I get
: Cannot obtain globalId for an
object which
is registered in an other than the databaseContext's active
editingContext,
object: Stormking Ltd 70 er.extensions.eof.er...@7e9482,
databaseContext:
er.extensions.eof.erxdatabasecont...@d6db5b, object's editingContext:
er.ex
onBatchIterator fsbi =
newERXFetchSpecificationBatchIterator(fs, ec);
I get an immediate exception:
java.lang.IllegalStateException: Cannot obtain globalId for an object which
is registered in an other than the databaseContext's active editingContext,
object: Stormking Ltd 70 er.extensions.eof.er..
use this
- are you using the shared EC?
- relationships that cross editing contexts will always cause this
- there ARE two ECs involved:
Cannot obtain globalId for an object which is registered in an other
than the databaseContext's active editingContext, object:
auto-locking turned on.
[2/18/09 9:22:30:975 MST] 008d SystemOut O 3251000
[WebContainer : 5] INFO er.transaction.adaptor.Exceptions -
Database Exception occured: java.lang.IllegalStateException: Cannot
obtain globalId for an object which is registered in an other than
the data
9:22:30:975 MST] 008d SystemOut O 3251000
[WebContainer : 5] INFO er.transaction.adaptor.Exceptions -
Database Exception occured: java.lang.IllegalStateException: Cannot
obtain globalId for an object which is registered in an other than
the databaseContext's
ng as a servlet with concurrent
request handling and auto-locking turned on.
[2/18/09 9:22:30:975 MST] 008d SystemOut O 3251000
[WebContainer : 5] INFO er.transaction.adaptor.Exceptions - Database
Exception occured: java.lang.IllegalStateException: Cannot obtain
globalId for an object wh
18 matches
Mail list logo