On 30 Apr 2006, John Siracusa wrote: > I can't think of any reason this would behave any differently under > mod_perl.
You are right. Sorry, it was another one of these silly mistakes. I have two perl installations, one as a "normal" installation and another one that came with apache, this is the one that is called from mod_perl. I cannot just do a 'use lib' to share the lib trees since there are one or two binary modules with incompatibilities. So I copied the Rose::* sub-tree to the mod_perl lib dir but forgot to update it to the latest version. After the update everything is fine. So the bottom line is that there was a recent bugfix that is important for many to many relationships. Without this bugfix you get something like one of these Russion puppits that fit one into the other. The buggy many to many relationship returned -- as I found out by now -- as many objects as hits but each of these objects didn't contain the real data but a hash-ref with the primary key as the key and an array-ref as values. The members of this array-ref were again group objects and only these contained the actual data. So with the buggy RDBO version I needed this: @groupnames = map {$_->nr->[0]->name} PVonline::Therapeuten- >new(nr=>1)->load->gruppen; ('nr' is the primary key, the id) where the corrected version did the same with this line: @groupnames = map {$_->name} PVonline::Therapeuten->new(nr=>1)->load- >gruppen; Michael ------------------------------------------------------- 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