Not sure you saw it but java.lang.ClassCastException: org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform cannot be cast to org.eclipse.persistence.platform.database.DatabasePlatform
is accurate, org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform is a org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform but not a org.eclipse.persistence.platform.database.DatabasePlatform so guess that is a bug of eclipselink (or at least that tomee doesnt have anything to do with it) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-07-02 7:57 GMT-07:00 hwaastad <he...@waastad.org>: > Well, > I tried to write as explicitly as I could in my first post :-) > > https://github.com/hwaastad/MongoEclipse.git > > br hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Tomee-Mongodb-eclipselink-tp4675430p4675434.html > Sent from the TomEE Users mailing list archive at Nabble.com. >