2017年12月26日
摘要: hibernate 业务流程 1 创建配置对象 Configuration config = new Configuration().configure(); 2 创建服务注册对象 ServiceRegistry serviceRegistry = new ServiceRegistryBuilde 阅读全文
posted @ 2017-12-26 15:40 菜鸟乙 阅读(138) 评论(0) 推荐(0)
摘要: 三大注解: 1 @Test 2 @Before 3 @After 执行顺序213 demo.java package hibernate_001; import org.junit.After; import org.junit.Before; import org.junit.Test; publ 阅读全文
posted @ 2017-12-26 15:11 菜鸟乙 阅读(131) 评论(0) 推荐(0)