Hi Isomorphic,
short comprehension question:
I do have a DataSource serverObject with many methods. In order not to have pass parameters between methods, I do have member variables.
All member variables are always initialized with reasonable values in the add() method (it's an upload, so add() is the only method called from outside).
The member variables store generated IDs.
Is this allowed for
But what for normal DataSources or if I enable that setting - are member variables then still OK?
I read of course read the ServerDataSourceImplementation docs.
Thank you & Best reagards
Blama
short comprehension question:
I do have a DataSource serverObject with many methods. In order not to have pass parameters between methods, I do have member variables.
All member variables are always initialized with reasonable values in the add() method (it's an upload, so add() is the only method called from outside).
The member variables store generated IDs.
Is this allowed for
- normal DataSources?
- Dynamic DataSources from DSGenerator?
- general pooling enabled (datasources.pool.enabled: true)
- Pooling for dynamic DataSources not enabled ("#datasources.poolDynamicDataSources: true" with the "#")
But what for normal DataSources or if I enable that setting - are member variables then still OK?
I read of course read the ServerDataSourceImplementation docs.
Thank you & Best reagards
Blama
Comment