0
I have a complex query in Mysql with sub-select and joins.
I would like to read this script through a file .sql using the language of JPA/Hibernate (JPQL or HQL), for example getSession().createQuery(arquivo.sql);.
Or another way that allows me to read the document to be failed in the repository. This is possible?