dragon.yinn Posted September 30, 2013 Share Posted September 30, 2013 Hi:When mentioning MongoDB and JasperReport, all the articles I can find is to use parameters.put(MongoDbDataSource.CONNECTION, connection);to combine MongoDbDataSource / MongoDbConnection. And this works with "js-mongodb-datasource-0.5.0.jar", which can be downloaded from JasperSoft website. However, I found that a newer version (1.0.0) comes accopanied with iReport 5.1.0. Since it's newer, I gave that the first try, and the JVM told me that "The CONNECTION symbol can't be located"! And then I tried to use the older one, and succeeded to compile. Being through this, I wonder whether there's a documentation or some notes to tell me how to combine the connection and the data source? The version numbers differ so much, is there a performance improvement from the older one? Hope that someone can tell me , thanks. parameters.put(MongoDbDataSource.CONNECTION, connection); 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