jpa返回值映射_SpringDataJPA:使用本机查询的自定义数据映射
public interface UserRepository extends JpaRepository {@Query(value = "SELECT * FROM USERS WHERE EMAIL_ADDRESS = ?0", nativeQuery = true)User findByEmailAddress(String emailAddress);}Let's say I have ...