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] [Updated] (CAY-2010) DataSourceBuilder to help users to create Cayenne connection pool
Date Tue, 19 May 2015 08:49:02 GMT

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

Andrus Adamchik updated CAY-2010:
---------------------------------
    Summary: DataSourceBuilder to help users to create Cayenne connection pool  (was: DataSourceBuilder
to help users to use Cayenne connection pool explicitly)

> DataSourceBuilder to help users to create Cayenne connection pool
> -----------------------------------------------------------------
>
>                 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
>
>
> The new connection pool has a bunch of config parameters. Need a builder to allow users
(and Cayenne internal code) to build it from parts. E.g.:
> {noformat}
> DataSource ds = DataSourceBuilder.url(url)
>         .driver(driver)
>         .userName(user)
>         .password(password)
>         .minConnections(5)
>         .maxConnections(10)
>         .build();
> {noformat}



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

Mime
View raw message