cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <hal...@pvv.ntnu.no>
Subject Re: Get Connection
Date Fri, 20 Oct 2006 11:24:01 GMT
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.

Mime
View raw message