cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1936) ServerRuntime.getDataSource() returning DataSource of a default DataNode
Date Sat, 17 May 2014 16:05:14 GMT
Andrus Adamchik created CAY-1936:
------------------------------------

             Summary: ServerRuntime.getDataSource() returning DataSource of a default DataNode
                 Key: CAY-1936
                 URL: https://issues.apache.org/jira/browse/CAY-1936
             Project: Cayenne
          Issue Type: Task
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.2.M2


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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message