1
I have the query
below running in my code but using the real names of the table and fields, in this same structure below works, but how do I do to do the same but using the language JPQL
, I am using generic table names and fields only to facilitate understanding.
@Query(value = "select rc.* from tabela1 i join tabela2 rc on rc.campoA= i.campoA")
public Page<Tabela2> trazerResultado(Pageable pageable);