cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <mkien...@gmail.com>
Subject Re: DBCPDataSourceFactory
Date Wed, 12 Mar 2014 15:02:11 GMT
According to this

http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java?view=markup

BasicDataSource ds = new BasicDataSource();
ds.setUsername("scott");
ds.setPassword("tiger");



On Wed, Mar 12, 2014 at 5:01 AM,  <dollj@xsinet.co.za> wrote:
> Hi All
>
> I've successfully configured and used DBCP as a Data Source Factory  :-)
>
> Does anybody know how to provide the username and password besides through
> the properties file ?
>
> Thanks,
> Jurgen
>

Mime
View raw message