dvn-f2: use cursor and connection objects instead of db object
        in the add_ccr procedure