Für MongoDB-Reports nutzt JasperReports MongoDbDataSource. Die Connection wird als Report-Parameter übergeben, nicht als Bean-Collection.
parameters.put(MongoDbDataSource.CONNECTION, connection);
Für MongoDB-Reports nutzt JasperReports MongoDbDataSource. Die Connection wird als Report-Parameter übergeben, nicht als Bean-Collection.
parameters.put(MongoDbDataSource.CONNECTION, connection);