20 本地SQL查询

Spring Data JPA同样也支持sql语句的查询

//nativeQuery : 使用本地sql的方式查询        
@Query(value="select * from customer",nativeQuery=true)    
public void findSql();

猜你喜欢

转载自www.cnblogs.com/zhaochengf/p/12127803.html
20)
$20
20
今日推荐