You do understand how this works, don't you? Login and vote now.
By bloid
via blogs.dzone.com
Published: Aug 01 2007 / 22:51
Per request in a comment on the previous article, I’ve decided to devote this post to the subject of relations and how they work in ActiveObjects.
There are two types of relations in database design: one-to-many and many-to-many. In a one-to-many relation, multiple rows in one table usually have a reference to a single row in another table (or quite possibly the same table, depending on the design). As a simple example, assume with me that all tapeworms reproduce solely asexually (which isn’t exactly true, but that’s beside the point).



Add your comment