You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a similar issue:
Something like this where users is an array of Strings : DBQuery.in("users", Arrays.asList("user1", "user2"));
will throw this exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
Any idea if I'm doing something wrong or if MongoJack is trying to cast a string to a collection? I'm using version 2.8.
The text was updated successfully, but these errors were encountered:
I'm having a similar issue:
Something like this where users is an array of Strings : DBQuery.in("users", Arrays.asList("user1", "user2"));
will throw this exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
Any idea if I'm doing something wrong or if MongoJack is trying to cast a string to a collection? I'm using version 2.8.
The text was updated successfully, but these errors were encountered: