For many projects you'll put the database connection details into JNDI and have 
Cayenne and anything else get it from there. Of course you might like to give 
Jasper a read-only connection.

Alternatively we wrote a layer which has Jasper access the data model through 
Cayenne. A bit of work, but it gave us some nice advantages. JasperReports can 
access javabeans as a data source.

Ari


On 31/10/2014 1:30pm, René Aravena wrote:
> With cayenne 3.1, as I can get the connection to the database to pass it to
> jasperreports?
> 
> René
> 

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to