Jothi Shankar Kumar wrote:I can easily clone your class to create a new instance. I don't understand your argument. the openConnection() method returns a Connection and not a DBManager. Are you disagreeing with that?
Hello Jothi,
The whole idea was to create a single shared instance for the application inside the static method:
which will share this object among all users with the same DBConnection object
And then you gotta only write the following in your application
Hope I clarified my point of view
BR