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
English:
update 's reference is ambiguous:
method in com.google.code.morphia.Datastore
update(T,com.google.code.morphia.query.UpdateOperations)
and method in com.google.code.morphia.Datastore
update(com.google.code.morphia.query.Query,com.google.code.morphia.query.UpdateOperations)
both matched
but it works in eclipse
so,I had to use the way below :
ds.update(ds.createQuery(clazz).filter("_id",id), up,false);
Is there any way to solve it?
The text was updated successfully, but these errors were encountered:
when I use the way below:
ds.update(ds.createQuery(clazz).filter("_id",id),up)
will error when compile in ant :
Chinese:
对 update 的引用不明确 :
com.google.code.morphia.Datastore 中的 方法 update(T,com.google.code.morphia.query.UpdateOperations)
和 com.google.code.morphia.Datastore 中的 方法
update(com.google.code.morphia.query.Query,com.google.code.morphia.query.UpdateOperations)
都匹配
English:
update 's reference is ambiguous:
method in com.google.code.morphia.Datastore
update(T,com.google.code.morphia.query.UpdateOperations)
and method in com.google.code.morphia.Datastore
update(com.google.code.morphia.query.Query,com.google.code.morphia.query.UpdateOperations)
both matched
but it works in eclipse
so,I had to use the way below :
ds.update(ds.createQuery(clazz).filter("_id",id), up,false);
Is there any way to solve it?
The text was updated successfully, but these errors were encountered: