Search code examples
javamongodbshardinghibernate-ogm

Do hibernate OGM supports mongodb in sharded environment?


If yes, how do I provide multiple hosts in persistence.xml ?

Can I use it with WiredTiger storage engine?

Does it support mongodb 3.0 drivers?


Solution

  • Sharded collections are not supported yet, see https://hibernate.atlassian.net/browse/OGM-620

    Since version 4.2 it uses MongoDB 3 drivers.