SpringBoot+SpringDataJPA项目中使用EntityManager执行自定义复杂SQL的方法

import javax.annotation.Resource;
import javax.persistence.EntityManager;

    @Resource
    private EntityManager entityManager;

笔记参考。

猜你喜欢

转载自www.cnblogs.com/songxingzhu/p/10397042.html