Your generator isn't being called (registered under wrong prefix) or is returning null, hence the system is falling back to statically defined DataSources (.ds.xml files).
Announcement
Collapse
No announcement yet.
X
-
<quote>
Your generator isn't being called (registered under wrong prefix) or is returning null
</quote>
|#| registered under wrong prefix |#|
I used the following to register it:
DataSource.addDynamicDSGenerator(new CustomGenerator(), "dbDefined");
Remember: the string I am using = dbDefined_MyDatabase_myDS
|#| or is returning null |#|
How can I solve this?
Comment
-
Not sure what your question means. You can solve your generator not returning null by not returning null - it's your code.
This system is known to work, has a bunch of automated tests ensuring it continues to work, and other users have reported success using it. Please look very very carefully at your code, the logs, and your assumptions. You're going to find something like a miscapitalized string or some similar kind of error.
Comment
Comment