cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Pierson" <neil.pier...@gmail.com>
Subject Re: Configuring SSL
Date Tue, 17 Jun 2008 18:21:32 GMT
The link wrapped to the next line.  Cut and paste the pieces into your
browser's address bar and it works.

hth,

n

On Tue, Jun 17, 2008 at 4:31 AM, Elena Doyle <ed284@admin.cam.ac.uk> wrote:

> Scott,
>
> Thank you but I am afraid the link does not work.
>
> Elena
>
> -----Original Message-----
> From: Scott Anderson [mailto:sanderson@airvana.com]
> Sent: 16 June 2008 19:58
> To: user@cayenne.apache.org
> Subject: RE: Configuring SSL
>
> I use a custom DSF for different reasons, but this might help anyways:
> http://bnubot.googlecode.com/svn/trunk/BNUBot/src/net/bnubot/db/conf/Cay
> enneConfiguration.java
>
> It's not as well documented as Andrus' example, but hopefully it's a little
> more obvious what it's
> doing.
>
> -----Original Message-----
> From: Andrus Adamchik [mailto:andrus@objectstyle.org]
> Sent: Monday, June 16, 2008 11:55 AM
> To: user@cayenne.apache.org
> Subject: Re: Configuring SSL
>
> Hi Elena,
>
> Here is a (badly written) factory for DBCP:
>
> https://svn.apache.org/repos/asf/cayenne/main/trunk/framework/cayenne-jd
> k1.5-unpublished/src/main/java/org/apache/cayenne/conf/DBCPDataSourceFac<https://svn.apache.org/repos/asf/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conf/DBCPDataSourceFac>
> tory.java
>
> You can use a similar approach to properties loading, but then instead of
> doing what we did with
> DBCPDataSourceProperties/ DBCPDataSourceBuilder helper classes, do this:
>
> 1. Load a properties file (that will have to include the URL, user name,
> password, and any of your
> custom settings) to a java.util.Properties object.
> 2. instantiate DBCP BasicDataSource, and call its set* methods to populate
> the properties.
>
> Andrus
>
> On Jun 16, 2008, at 6:39 PM, Elena Doyle wrote:
>
> > Andrus,
> >
> > Many thanks for this. Due to bussiness needs I need to write a custom
> > one. As I am mostly a database and PL/SQL person, is the source code
> > of the standard Cayenne data factory available anywhere. I could not
> > find it in the repository.
> >
> > Many thanks
> >
> > Elena
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message