Previous Next

How to create a MongoDB data source

BIRT uses MongoDB Java driver 5.13.0, with the bson, mongodb-driver-core, and mongodb-driver-sync bundles replacing mongo-java-driver. Socket keep-alive is always enabled by the driver; the legacy socketKeepAlive property no longer changes this setting.

1  
2  
1  
2  
3  
3  
*
*
*
*
*
*
mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
4  
*
*
Figure 2-24 shows an example of properties to connect to a database instance in MongoDB.

Figure 2-24 Connection properties for a MongoDB database

Figure 2-24  Connection properties for a MongoDB database
5  

(c) Copyright Actuate Corporation 2013