Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Sun, 28 May 2006 12:03:44 -0500
On 2006-05-03 13:07:18 -0500, "H. S. Lahman" <h.lahman@xxxxxxxxxxx> said:
In fact, the OO paradigm for instantiating relationships often allows one to avoid searches altogether. That's because the solution is tailored to a particular problem. So if the only subset of [Location] that is ever of interest to the problem solution is those locations starting with "Micro", one would create a separate collection for those entries that begin with "Micro".
The OP was asking a simple question. It seemed clear to me that it was a matter of "Where do I put the SQL?". I don't think that creating a separate collection of entries that begin with "Micro" answers that question since in order to create that collection you still have to find all the entries that begin with "Micro".
--
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 |
.
- Follow-Ups:
- Re: Searching OO Associations with RDBMS Persistence Models
- From: H. S. Lahman
- Re: Searching OO Associations with RDBMS Persistence Models
- References:
- Searching OO Associations with RDBMS Persistence Models
- From: Richie
- Re: Searching OO Associations with RDBMS Persistence Models
- From: H. S. Lahman
- Searching OO Associations with RDBMS Persistence Models
- Prev by Date: Re: Searching OO Associations with RDBMS Persistence Models
- Next by Date: Re: Design help needed (model view controller)
- Previous by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Next by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Index(es):