Execute dml , refresh materialized view


I have materialize view in postgres and I want it to refresh after an Entity has been commited

I try execute dml sql "refresh materialized view " using datamanager but it is fail, Does dml can be executed via datamanager ?



Native SQL can be executed only using EntityManager and Query on middleware: Running SQL Queries - CUBA Platform. Developer’s Manual