> -----Original Message-----
> From: sqlalchemy@googlegroups.com 
> [mailto:sqlalch...@googlegroups.com] On Behalf Of Eloff
> Sent: 08 September 2009 21:34
> To: sqlalchemy
> Subject: [sqlalchemy] Re: How to bypass scoped_session?
> 
> 
> On Sep 8, 3:47 am, "King Simon-NFHD78" <simon.k...@motorola.com>
> wrote:
> > Automatically adding objects to a session when they are created is a
> > feature of Session.mapper (rather than the plain orm.mapper 
> function),
> > and is deprecated. If you use the plain mapper function, all "root"
> > objects that you create will have to be explicitly added to 
> a session.
> > ("related" objects will normally be added by default)
> 
> That makes sense to me.
> 
> > Session.mapper also included a couple of extra features (the 'query'
> > property and a default __init__) which you can recreate 
> yourself using
> > the examples at
> > 
> <http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionAwareMapper>
> 
> Trouble is I am using elixir, so I'm not sure I can change this
> behavior.
> 
> Thanks Simon,
> 
> -Dan

I think you'll need to take that up on the elixir list. I've no idea if elixir 
allows you to use a different mapper.

Sorry I can't be more help,

Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to