Customer is not mapped [FROM Customer] code example Example: query syntax exception is not mapped @Query( value = "some sql query ...", nativeQuery = true)