inject multiple dependencies in constructor
transaction in PostgreSQL example