mpl Posted November 20, 2006 Share Posted November 20, 2006 Hello! I'm just starting with jasperreports. I'm hoping to be able to incorporate it into a REALbasic program I'm writing. Some of the reports I need, need to run as the logged in user. Is there a way of using a PARAMETER for the username and password in the JDBC connection string? In other words, I'd like to be able to pass the database username and password within the Hashmap. Is this possible? Thanks!Mark Link to comment Share on other sites More sharing options...
lucianc Posted November 20, 2006 Share Posted November 20, 2006 JasperReports does not create JDBC connections, the caller needs to create it and pass it when filling a report. You need to write some code around JasperReports where you create the connection. HTH,Lucian Link to comment Share on other sites More sharing options...
ravikumarchezhian Posted June 11, 2014 Share Posted June 11, 2014 Hello Lucian, Can your provide the sample code for creating connection at run time Thanks Chezhian 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