Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    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).

    Comment


      #17
      <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


        #18
        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


          #19
          Wow... It works now. Seems it was my debugging code that caused the error. Oops.

          Once again, thanks for all your patience and help!

          Comment

          Working...
          X