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] [Closed] (CAY-2010) Splitting DataSourceBuilder from ServerRuntimeBuilder
Date Sun, 03 May 2015 09:30:06 GMT

     [ https://issues.apache.org/jira/browse/CAY-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-2010.
--------------------------------
    Resolution: Fixed

> Splitting DataSourceBuilder from ServerRuntimeBuilder
> -----------------------------------------------------
>
>                 Key: CAY-2010
>                 URL: https://issues.apache.org/jira/browse/CAY-2010
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 4.0.M3
>
>
> As we are adding more parameters to Cayenne DataSource (validation query, etc.), it would
make sense to split DataSource builder methods from ServerRuntimeBuilder, and use a separate
builder instead. So the new code may look like this:
> DataSource ds = DataSourceBuilder.bla(..).build();
> ServerRuntimeBuilder.builder().dataSource(ds).build();
> In fact the builder was already committed per CAY-2008, CAY-2009. So here we'll just
clean up ServerRuntimeBuilder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message