20 local SQL queries

Spring Data JPA also supports sql statement query

// nativeQuery: using local sql query the way         
@Query (value = "the SELECT * from the Customer", nativeQuery = to true )    
 public  void findSql ();

 

Guess you like

Origin www.cnblogs.com/zhaochengf/p/12127803.html
Recommended