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
Trying to work with nitrite 3.X, so far so good.
I'm mainly using the ObjectRepository, but I wanted to try querying nested docs using the getCollection and got the
NitriteMapper.isValueType(Object)" because "nitriteMapper" is null in ValidationUtils.validateSearchTerm
My actual code that causes that is : nitrite.getCollection(Advisory.class.getName()).find(eq("advisory_details.summary", "Text To Match"))
any suggestions?
The text was updated successfully, but these errors were encountered:
NitriteMapper is used in ObjectRepository to map object to document and vice versa. In NitriteCollection, for obvious reason NitriteMapper is not set as it does not deal with objects directly. So mix and match of api is not advisable. If you are dealing with objects, you need to use ObjectRepository api, if you are dealing with only documents, use collection api.
Hi,
Trying to work with nitrite 3.X, so far so good.
I'm mainly using the ObjectRepository, but I wanted to try querying nested docs using the getCollection and got the
NitriteMapper.isValueType(Object)" because "nitriteMapper" is null
inValidationUtils.validateSearchTerm
My actual code that causes that is :
nitrite.getCollection(Advisory.class.getName()).find(eq("advisory_details.summary", "Text To Match"))
any suggestions?
The text was updated successfully, but these errors were encountered: