When I try to use MongoDB driver in my play framework application's application.conf as
db.default.driver=com.mongodb
I am getting Driver not found error. I have configured dependency in Build.scala for MongoDB driver.
I am using official Java driver for MongoDB mongo-java-driver v 2.11.1. I want this driver to be used with Ebean.
What is the correct class name to be used in the db.default.driver to get this working?
EBean doesn't support MongoDB, it only works with relational databases as it is a JPA-compliant driver.
Here you have an example using Java and MongoDB which may help you to bootstrap your project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With