]
RH Bugzilla Integration commented on ISPN-4396:
-----------------------------------------------
Martin Gencur <mgencur(a)redhat.com> changed the Status of [bug
DSL Query: right condition lost
-------------------------------
Key: ISPN-4396
URL:
https://issues.jboss.org/browse/ISPN-4396
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Embedded Querying
Affects Versions: 7.0.0.Alpha4
Reporter: Radim Vansa
Assignee: Adrian Nistor
Condition created through query like this:
{code}
Query q = qf.from(User.class)
.not(
qf.having("name").eq("John")
.or(qf.having("surname").eq("Man")))
.toBuilder().build();
{code}
is not correctly parsed into JPQL query; it is
{code}
FROM org.infinispan.query.dsl.embedded.sample_domain_model.User _gen0 WHERE NOT
(_gen0.name = 'John')
{code}