pradeep Posted January 23, 2007 Share Posted January 23, 2007 Does JR support connection pooling ? can it work with JNDI of application server?Can I just give the JNDI lookup which Jasper reports runtime can make use of ?:) Thank you. Link to comment Share on other sites More sharing options...
lucianc Posted January 26, 2007 Share Posted January 26, 2007 JasperReports does not manage connection pools, and it doesn't perform JNDI lookups. JasperReports receives a java.sql.Connection object which it uses to execute queries. It's the caller's responsibility to provide this object, and you can obtain it using any method you want, including connection pools and JNDI lookups. If you want to directly pass the JNDI lookup to JasperReports, you can implement a query executer that defines a report parameter for this. Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now