On 10/26/06 4:09 PM, Lucian Dragus wrote:
> I think I hited a bug in RDBO, in
> 
>         $object->save( cascade => 1, changes_only => 1)
> 
> for objects implied in a relationship one-to-one.
> 
> When adding a new sub-object to an existing main
> object and that will try to save self in db, if none of
> his fields are modified, the generated sql is incomplete and wrong:
> 
>         "UPDATE table SET
>         where id = $1"

Fixed in SVN.  Thanks for the great bug report!  I used your sample code to
create the test for this in the test suite :)

-John



-------------------------------------------------------------------------
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
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to