cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: cayenne.adapter.[domain].[node] property
Date Mon, 24 Dec 2012 13:53:16 GMT

On Dec 24, 2012, at 4:24 PM, John Huss <> wrote:

> My issue above was just that I didn't want to open the connection until I
> started using it.  Sometimes I have DataNodes that can't be used all the
> time because its for a different DB vendor, or for a remote DB that I need
> to open a VPN connection to access, etc.  so it's important that only the
> used nodes will open connections; and they do now that I changed the
> registration of the extended types.

Cool. In fact IIRC AutoAdapter concept was introduced specifically to allow lazy bootstrap
of the adapter. We could create an unwrapped adapter, but that would've required calling adapter
factory explicitly on startup, and opening a connection immediately. 


View raw message