Reputation: 481
Team
Using Tomcat from this URL is working as Expected.
https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/jndi/#std-label-jndi
For Pojos to be used as per URL need to be applied CodecRegistry
https://mongodb.github.io/mongo-java-driver/3.6/driver/getting-started/quick-start-pojo/
Question : How to apply CodecRegistry on JNDI/Tomcat based MongoClients ?
Upvotes: -3
Views: 17