Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 72685 invoked from network); 20 Oct 2006 11:24:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 11:24:34 -0000 Received: (qmail 53163 invoked by uid 500); 20 Oct 2006 11:24:33 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 53146 invoked by uid 500); 20 Oct 2006 11:24:33 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 53137 invoked by uid 99); 20 Oct 2006 11:24:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:24:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.162.234.99] (HELO eccproxy.ecc.as) (213.162.234.99) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:24:28 -0700 Received: from eccmx.ecc.as ([159.162.61.11]) by eccproxy.ecc.as with InterScan Messaging Security Suite; Fri, 20 Oct 2006 13:24:03 +0200 Received: from [159.162.61.72] ([159.162.61.72]) by eccmx.ecc.as with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Oct 2006 13:24:02 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <525d8e10610191835n74904aaeg30bc78a5c58108b3@mail.gmail.com> References: <525d8e10610191835n74904aaeg30bc78a5c58108b3@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <35A0B855-56C0-4B88-BC46-7E81CF6FDC83@pvv.ntnu.no> Content-Transfer-Encoding: 7bit From: Tore Halset Subject: Re: Get Connection Date: Fri, 20 Oct 2006 13:24:01 +0200 To: cayenne-user@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-OriginalArrivalTime: 20 Oct 2006 11:24:02.0726 (UTC) FILETIME=[3EE73C60:01C6F43A] X-imss-version: 2.043 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:2 M:2 S:2 R:2 (0.1500 0.1500) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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(); - Tore.