Generator creates a DataSourceTargetclass related to a particular connection as well.
However, this class requires some action.
Firstly, fulfil initDataSource() method with database connection.
Next, make this class singleton.
Lazy loading singleton is possible.
The class modified this way is ready to work.