如果程序主要通过JPA API访问数据库,但在个别情况下需要访问Hibernate API,那么可以从EntityManager接口中获得底层Session对象,如: (1)先加载 ...
確定! 回上一頁