call commit() on objectstore, or the session itself, i.e. objectstore.get_session().commit() the ORM-level commit is completely different from the engine-level commit() :) . On Mar 9, 2006, at 12:33 AM, Jonathan Ellis wrote: I'm trying to create an api (sqlalchemy.simple?) that allows unsophisticated db manipulation without explicit table classes. (Code attached.) Seems to work fine except I can't get inserts to work. My objects go into the UnitOfWork but they still do not get committed. I suspect it's something simple to get them marked "dirty" for commit, but my code diving patience for the evening is exhausted. Help? :) |
- [Sqlalchemy-users] runtime-generated table classes Jonathan Ellis
- Re: [Sqlalchemy-users] runtime-generated table classes Michael Bayer
- Re: [Sqlalchemy-users] runtime-generated table cla... Jonathan Ellis
- Re: [Sqlalchemy-users] runtime-generated table... Michael Bayer
- Re: [Sqlalchemy-users] runtime-generated t... Jonathan Ellis
- Re: [Sqlalchemy-users] runtime-genera... Michael Bayer