| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
Phlip wrote:
> Marshall wrote:
>
> > So every time you need to do any query, you just mechanically wrap it
> > in a method? Then the use of these wrapper methods is okay anywhere
> > in the application that needs to make them?
>
> When those techniques relieve duplication.
>
> Suppose 12 of my modules bulldoze the BULLDOZE table. Gee, maybe I should
> wrap that up in a Bulldoze object and hide all the SQL statements inside
> that.
>
> Now suppose one little module reads the CONFIG table at startup. Screw it;
> just hard-code a SELECT statement and don't look back.
>
> The goal is to replace duplicated statements with better design.
Works for me.
I'm actually a bit hestitant with my understanding of the verb
"bulldoze"
in the above, but I understood it to mean something like "foo" or
"frob" or "whatever." If it means something specific, then I missed
it.
Marshall Received on Sun Jun 04 2006 - 22:52:22 CDT
![]() |
![]() |