Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> select failure
Oracle 8.1.7, D5, DOA components, MIDAS server
I have two datasets that are used to select and update two tables. These tables have primary keys that are populated with sequences on the before insert triggers. Because I am using MIDAS, I have an event AfterUpdateRecord. I am using this event to retrieve the primary keys of the just inserted record and update the record. The changes are then propagated down to the client.
My problem is that this works on one dataset, but not the other. I use separate query components to retrieve the primary keys. I assumed that the insert and query were taking place in the same transaction and so the insert would be visible from the query.
These are the results from the monitor:
"01:20.806","00:00.001","Query.Execute (1 record processed) select item_id
from rb_item where modified = :modified "
"01:27.295","00:00.001","Session.Commit "
"02:12.440","00:00.001","Session.Commit "
The queries and parameters are correct.
Does the fact that the first insert is doing a LOB.Write have anything to do with the success of that query?
Thanks for any help.
-- Jim Poe (jpoe_at_fulcrumit.com) -- Jim Poe (jpoe_at_fulcrumit.com)Received on Fri Aug 03 2001 - 17:20:40 CDT
![]() |
![]() |