On Jun 18, 2009, at 4:24 PM, millerdev wrote:

>
>> I think Hibernate might have this kind of loading available...
>
> I wouldn't be surprised. From my use of Hibernate (which was quite a
> while ago now) my inclination was that it had lots of options for
> complex and highly customized optimizations, like the one I'm trying
> to do.

right but even the "normal" hibernate features screwed up all the  
time, and you were usually SOL when that happened....


>
> I suppose r6066 is a 0.5 revision number? How well does
> set_committed_value() work in SA 0.4.7 ? I haven't upgraded to SA 0.5
> yet, and I'd rather not do that right now if I can avoid it. However,
> if this can't be done with 0.4...
>
> Thanks a lot for the tips on how to approach this problem. That's
> exactly what I needed.

in 0.4 you'd get it off the impl (0.5 too, this is just uglier API):

state = attributes.instance_state(myobject)
MyClass.somecollection.impl.set_committed_value(state, collection)


--~--~---------~--~----~------------~-------~--~----~
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