Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1936

ServerRuntime.getDataSource() returning DataSource of a default DataNode

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.M2
    • None
    • None

    Description

      We have a concept of a default DataNode. So having a simple shortcut to a default DataSource via ServerRuntime makes total sense. Current implementation of ServerRuntime.getDataSource(String dataNodeName) would actually attempt to find a default DataNode for null name, but passing NULL is kinda kludgy.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: