Thanks guys. Will it always be safe to cast BaseContext.getThreadObjectContext() to DataContext?
-Mike From: Michael Gentry <[email protected]> To: [email protected] Date: 04/05/2010 04:46 PM Subject: Re: jdbc connection dataContext.getParentDataDomain().getNode("foo").getDataSource().getConnection() returns the Connection, I think. Replace "foo" with the name of your DataNode. mrg On Mon, Apr 5, 2010 at 4:26 PM, <[email protected]> wrote: > What's the best way to get a direct handle to a jdbc connection in your > underlying pool. It looked like getting it straight from DataNode was the > way to go, but then how do I get to my DataNode? :) Thanks. > > -Mike >
