0

1

回答

1939 浏览

@PersistenceContext 线程安全的疑问[已解决]10

在spring+jpa情况下,经常这么写service层或dao层 public class BrandServiceDao implements BrandDao { @PersistenceContext protected EntityManager entityManager; // business } 一般service和dao都被是singleton 但这种情况下, entity ...

本周活跃投票用户

最新评论

Global site tag (gtag.js) - Google Analytics