Add database connection to the extensible contract code generation mechanism.