I suspect that this is a bug in Morphia. If I change
deleteById(operatorId) to
ds.findAndDelete(createQuery().field("_id") .equal(operatorId));
It works.
/Johan
On Feb 24, 11:00 am, Johan Haleby <
johan.hal...@gmail.com> wrote:
> Hi,
>
> I have aclassthat has a composite id, e.g.