fix deprecated warning with rake tasks
[DB2] remove unnecessary configuration in connection methods