On Tue, Dec 06, 2005 at 02:34:48PM -0800, Mike Stephen wrote: > > Hi Rune and Jorge, thanks for your prompt replies! > > Rune, your Catwalk suggestion worked like a charm, thanks. > > Jorge, I had already made the change you suggested to the sqlobject.txt > file :( > Through Catwalk I can now create objects, and see them in MySQL, but no > luck through tg-admin shell. I can create one of my model objects and a > TG_User object inside the *same* transaction (beginning before, > committing after), and my model object is in the db, but not the > TG_User! Very puzzling! > > I even tried changing my model to use an AutoConnectionHub instead of a > PackageHub (no idea what the difference is here), but this did not help > either. > > Regards, > > Mike.
Ever since the every-request-is-within-a-transaction update, anything in tg-admin shell is also within a transaction. You have to hub.commit() before exiting the shell. Jason -- If you understand, things are just as they are. If you do not understand, things are just as they are.
pgpUWu05tGClO.pgp
Description: PGP signature

