cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: jdbc connection
Date Mon, 05 Apr 2010 20:46:03 GMT
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,  <MGargano@escholar.com> 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
>

Mime
View raw message