Hi all,

I've just found a bug in the Session object's merge() method.  It  
works OK if your object is mapped against a single table, but if you  
map an object against multiple tables for whatever reason, it barfs  
because it tries to pass the elements of the object's instance key to  
the get() method as individual arguments instead of as a tuple.  I  
suspect this probably breaks in other cases as well (composite  
primary key, for instance).

I've added a Trac ticket (#236), with a patch and a new test case.

Kind regards,

Alastair.

--
http://www.alastairs-place.net




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to