Facing casting issue while running query #2848
Unanswered
ritik-jaiswal-miq
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to migrate from morphia 1.3.2 to 2.3.9
I am trying to run a query want to fetch all the documents related to connection class
but its failing with the error
class com.**.caps.dataset.domain.entities.Connection cannot be cast to class dev.morphia.query.Query (com.*.caps.dataset.domain.entities.Connection and dev.morphia.query.Query are in unnamed module of loader 'app')"
The Connection class in defined in the manner
Beta Was this translation helpful? Give feedback.
All reactions