java - @query注解怎么获取方法参数的某个属性值
PHPz
PHPz 2017-04-18 10:13:13
0
2
316
PHPz
PHPz

学习是最好的投资!

全部回覆(2)
阿神

類似

@Query("select h from Hotel h where h.city = ?1")
List<Hotel> queryWorkFormList(City city);
左手右手慢动作

Spring給的例子:

@Query("select u from User u where u.firstname = :#{#customer.firstname}")
List<User> findUsersByCustomersFirstname(@Param("customer") Customer customer);
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!