You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2014/05/17 18:05:21 UTC
[jira] [Closed] (CAY-1936) ServerRuntime.getDataSource() returning
DataSource of a default DataNode
[ https://issues.apache.org/jira/browse/CAY-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1936.
--------------------------------
Resolution: Fixed
> 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)