spring jpa. stepped pit experience sharing

Native SQL 
@Query () when there is return of other notes do not add this one suffice
@Query("select m from MerchantBaseUserInfo m where m.mcu_id = ?1")
@Modifying
@Query () returned when no other notes do not add this one suffice

Guess you like

Origin www.cnblogs.com/lei0913/p/11200402.html