Sorry, my bad. I had `update.where(from.in(subquery));`, and i forgot it should be `update.where(from.get(Metadata_.id).in(subquery));`