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: The following topics present examples of removing code repetition when accessing the database:
See Also :
Data exception wrapping
Would you use this technique?
Yes   No   Undecided   
© 2018 Hirondelle Systems | Source Code | Contact | License | RSS
Individual code snippets can be used under this BSD license - Last updated on September 21, 2013.
Over 2,000,000 unique IPs last year - Built with WEB4J.
- In Memoriam : Bill Dirani -