hi,all,
but when I want to implement search method by a search criteria,how I to write the @Query("").I want to implement interface query methods in dao interface.Code:@Query("from Staff where cardNo = :cardNo") public Staff findByCardNo(@Param("cardNo") String cardNo);
thanks for help.


Reply With Quote
