Reduce database code duplication
If a naive design is followed, JDBC code rapidly becomes repetitious. JDBC is one area where applying the "Don't Repeat Yourself" guideline found in The Pragmatic Programmer (Hunt and Thomas) has large rewards. Reducing code repetition :
- greatly increases the quality of the design
- minimizes ripple effects when changes occur
- decreases the size of the code base
See Also :
Would you use this technique?