Hi All,
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 finding the following code does not work as the Configuration
object is returning a null DataSourceFactory:
Configuration configuration = Configuration.getSharedConfiguration();
String domainName = getDataContext().getParentDataDomain().getName();
configuration.getDataSourceFactory().getDataSource(domainName);
What is the proper approach for this?
regards Malcolm Edgar
This archive was generated by hypermail 2.0.0 : Thu Oct 19 2006 - 21:46:09 EDT