cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <>
Subject Re: cayenne.adapter.[domain].[node] property
Date Sat, 15 Dec 2012 22:48:56 GMT
> > My problem with AutoAdapter is that is causes a connection to be opened
> > immediately whereas a hard coded adapter does not.  Does it have to do
> > that?
> It shouldn't. Could you provide a stack trace of the call that starts the
> connection? Maybe there's something preceding AutoAdapter initialization,
> like connection pool creation?

Ok, deeper down I was calling
 which was forcing the adapter to be loaded.  This appears not to happen if
I use the DI binding instead.  So problem solved!

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