ptupitsyn commented on issue #12506:
URL: https://github.com/apache/ignite/issues/12506#issuecomment-3516508280
The bug is only in Criteria API, so the workaround is to use SQL instead:
```java
client.sql().execute(null, Mapper.of(Person.class), "SELECT * FROM
Person2 WHERE id = ?", 2)
.forEachRemaining(person -> System.out.println("SQL Person2:
" + person.name + " (" + person.weight + ")"));
```
This also maps the query results to `Person` class.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]