The native query execution in Jmix

Is there any way to execute sql native query in Jmix.
It was possible in CUBA:

But I found nothing similar in Jmix documentation.
Only simple jpql queries with dataManager:

Is it still possible to execute sql native query in Jmix? Are there any examples or docs about this?

I found the answer here:

It says, that Jmix doesn’t support native query, but it’s possible to do it via javax.persistence.EntityManager

Spring’s JdbcTemplate also works.

1 Like