I have dependent and independent classes, I need to create database connections in these classes. As I understand from Qt documentation, if I create connections in default way, all of them use same connection.
Should I create different database connections for different classes, or should I use same database connection. What are pros and cons? Thanks.