cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: jdbc connection information
Date Wed, 12 Sep 2007 16:41:35 GMT
There is a variety of options for customization revolving around JNDI  
[1], and a custom DataSource that can be configured via a custom  
DataSourceFactory [2] in the Modeler.

Cheers,
Andrus

[1] http://cayenne.apache.org/doc/using-jndi.html
[2] http://cayenne.apache.org/doc/api/org/apache/cayenne/conf/ 
DataSourceFactory.html


On Sep 12, 2007, at 7:29 PM, Dan Morgan wrote:

> Is there a way to modify the JDBC connection information  
> programmatically
> prior to Cayenne attempting to make a connection?  With EOF you  
> could get at
> the connection information and make changes to it prior to  
> connection.  This
> allowed having property files that contained the connection  
> information and
> yet not have to make changes to the driver nodes (Allowed copying  
> the same
> jar file to several different configurations (staging, production,  
> etc) and
> just having different property files there which could be used to  
> modify the
> connection information at runtime).
>
> Thanks,
>
>
> Daniel L. Morgan
> EMail      : <dmorgan@ihomefinder.com>
>
>
>
>
>
>
>
>


Mime
View raw message