| Yeah, in this case, I would expect that one could gather enough info from "b.equal(order_.get(Order_.orderType)", as this is a well-known model type – should have full info. Hmmm, would a "noop" really work here? As you have to choose what to use – ordinal or name, from enum, based on what the entity model has in config for this property (which @Enumerated(value = EnumType.XXX)). |