>
> > 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
     dataNode.getAdapter().getExtendedTypes().registerType(...)
 which was forcing the adapter to be loaded.  This appears not to happen if
I use the DI binding instead.  So problem solved!

Reply via email to