//imports, etc. @Entity @Table(name = \"TSTRANS\") @SqlResultSetMappings( { @SqlResultSetMapping(name = TS_TRANS_EMP_STAT
It was a bug, now fixed: jira.spring.io/browse/DATAJPA-1280
Add:
@Query(nativeQuery=true)
at the top of a new method in the repository.