Hi,

Thanks for the suggestion.

On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I ought to pass object identifiers around for page to page rather than
> object themselves, then re-get the object from the database within the
> next page's code. Is this a correct observation, a necessary pattern?

I actually think that this is more an observation about use of
sessions than the implicit transactions. Generally speaking, implicit
transactions do what you really want to happen anyhow.

There are no guarantees about putting an SQLObject (or other kind of
persistent object) into a session. Most persistent objects have some
kind of association with the connection they were created from. From
request to request, you can't count on that being the same connection.

Hanging on to the object id is a good solution, imho.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to