Re: Get Connection

From: Malcolm Edgar (malcolm.edga..mail.com)
Date: Fri Oct 20 2006 - 16:55:14 EDT

  • Next message: Aristedes Maniatis: "Re: Get Connection"

    Thanks Tore for the details.

    regards Malcolm

    On 10/20/06, Tore Halset <halse..vv.ntnu.no> wrote:
    > On Oct 20, 2006, at 13:24, Tore Halset wrote:
    >
    > > On Oct 20, 2006, at 3:35, Malcolm Edgar wrote:
    > >
    > >> I am using a Jasper reports in a Cayenne project, and I want to
    > >> obtain
    > >> a Connection from Cayenne for Japser to use.
    > >
    > > I am doing something like this:
    > >
    > > DataDomain domain = Configuration.getSharedConfiguration().getDomain
    > > ();
    > > DataNode node = domain.getNode(nodename);
    > > Connection conn = node.getDataSource().getConnection();
    >
    > Make sure you see this one as well
    >
    > http://cwiki.apache.org/confluence/display/CAY/Jasper+Integration
    >
    > - Tore.
    >



    This archive was generated by hypermail 2.0.0 : Fri Oct 20 2006 - 16:55:42 EDT