摘要:
一、EntityManagerFactory的种类 1.The JPA specification defines two kinds of entity managers: Application-managed—Entity managers are created when an appl 阅读全文
posted @ 2016-04-01 13:29
shamgod
阅读(437)
评论(0)
推荐(0)
摘要:
一、结构 二、Repository层 1. 2. 3.以前是用HibernateTemplate,但现在的最佳实践是用Hibernate contextual sessions and not use HibernateTemplate at all. This can be done by wir 阅读全文
posted @ 2016-04-01 13:09
shamgod
阅读(1833)
评论(0)
推荐(0)