For a query like: "select e from Example e where e.user is null", IsNullLogicOperatorNode#initialize() calls AbstractNullnessCheckNode#mutateRowValueConstructorSyntax to create the nodes that will be used to generate:
alias.name is null and }}alias{{.email is null
For a query like "select e from Example e where e.user=:u", since User is a ComponentType with nullable columns, BinaryLogicOperatorNode#initialize()} should call {{BinaryLogicOperatorNode#mutateRowValueConstructorSyntaxesIfNecessary to create the nodes to generate:
( }}alias{{.name is null or }}alias{{.name = ? ) and (alias{{.email is null or }}alias{{.email = ? ) }}
|