Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eclipselink 2.6.4CR1 can't query with MongoDB(Eclipselink 2.6.4CR1 can't query with MongoDB)
icon8.gif  Eclipselink 2.6.4CR1 can't query with MongoDB [message #1747388] Mon, 14 November 2016 09:20
wl piaoyi is currently offline wl piaoyiFriend
Messages: 1
Registered: November 2016
Junior Member
When query data (em.createNativeQuery("db.TESTENTITY.find({})").getResultList())

I get:
Internal Exception: java.lang.ClassCastException: org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform cannot be cast to org.eclipse.persistence.platform.database.DatabasePlatform
Previous Topic:Cache coordination on Jboss EAP 6.2
Next Topic:Many databases, same shared schema. One EntityManagerFactory?
Goto Forum:
  


Current Time: Thu Dec 14 13:28:40 GMT 2017

Powered by FUDForum. Page generated in 0.01822 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software