Failure executing native query on MongoDB

Description

By executing the following native query to mongodb

or JPA like

I always get the following exception :

Environment

OS: Linux / OSX
JDK 1.7.0_45
WildFly 8.0.0.Beta4
Hibernate Core 4.3.0.Beta4

Activity

Show:
Pavol Pitoňák
February 25, 2014, 8:54 AM
Edited

Hi Emmanuel,

I managed to reproduce exactly the same exception in https://github.com/ppitonak/hibernate-ogm/tree/OGM-417

There is similar problem with em.createQuery and em.createNamedQuery

Emmanuel Bernard
February 25, 2014, 9:45 AM

Thanks . can you investigate this one?

Davide D'Alto
February 25, 2014, 9:54 AM

Yes, I will investigate. Thanks

Davide D'Alto
February 27, 2014, 2:53 PM

I've sent a pull request: https://github.com/hibernate/hibernate-ogm/pull/299

Thanks for the test case, I add to change it though to apply it to our code base.

Marco Ronconi
February 27, 2014, 3:04 PM

Sorry for late, but i'm very busy in these days, a big thank you to all.

Assignee

Davide D'Alto

Reporter

Marco Ronconi

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure