I have a single object, a single call to the database, and a single
post-fetch handler (that doesn't touch the database, just over-writes
a local field). It *should* be the same connection, but it should not
matter.
In any case, the Update() call does NOT create a new connection & open
it, as do ALL the data portal methods, which is wrong regardless of
what is happening in between. It is just an oversight that probably
usually works, just not this time, or for me :( . It did throw light
on an area that might take consolidation well, so I think that should
be considered.
To clear something up: If I replace my call to .Update with a indirect
call through DataPortal (the only change), it works. Again, this is
because DataPortal_Update() is called, and that creates a _new_
connection and opens it again.
As for the local context... The data in it gets clobbered with every
DataPortal call, so I wouldn't rely on anything in there between any
two calls on *any* two objects.
//Andrew