Query parameter using entity not work in MySQL

Hi Team,

Attached a demo project with very simple data model: students many-to-one clazz.

problem is that in student brower, the following code seems don’t work in MySQL(5.7.2), but I tested in HSQL, it works:

    @Override
    public List<Student> loadByClazzes(List<Clazz> clazzes) {
        List<Student> students = dataManager.load(Student.class)
                .query("select e from demo_Student e where e.clazz in :clazz")
                .parameter("clazz", clazzes)
                .view("student-with-clazz-view")
                .list();
        return students;
    }

Please help check if this is a problem.

demo.zip (88.9 KB)

1 Like

Hi,
thank you for reporting the problem. We have created an issue

1 Like