actually, the semantics of import_() are much more equivalent to
hibernate's merge(), not update(). now update() makes more sense to me.
since I desperately want this to just be done, i am considering just
throwing on very similar versions of load(), merge(), save(), update
(), saveOrUpdate(), delete(), as described in http://
www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html ,
complete with the same exception cases and everything (i think).
however now we have the whole issue of descending to child objects
too, which was previously nicely handled by the thread-local
get_session() method. hibernate does a lot of extra work that we now
have to implement, complete with all the cascade styles, etc: http://
www.hibernate.org/hib_docs/v3/reference/en/html/
objectstate.html#objectstate-transitive .... so this is basically a
huge pain in the ass.
On Apr 21, 2006, at 12:52 PM, Michael Bayer wrote:
On Apr 21, 2006, at 12:32 AM, Robert Leftwich wrote:
Michael Bayer wrote:
to me, the method means, "this is an object I loaded from some
other Session and now I want it to be in this Session", thats
why I like "import"...it implies youre "taking it from somewhere
else and putting it here".
adopt?
here we go again.....
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users