| Binding them as literals means we'd have to emit them directly into the SQL statement, yes? Got it - the tough part is the implementation. I'd think that the case of a "shared" entity would be simpler - no discriminator in that case, so no need to propagate that field to the related entity. I'm not familiar enough with the code, however, to see what'd be harder vs. easiser. |