上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 52 下一页
摘要: 一、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)
摘要: 为了使查询数据库时,可以使用命名参数,则要用NamedParameterJdbcTemplate 1.Java文件配置 2.在Dao层中使用 阅读全文
posted @ 2016-03-31 23:27 shamgod 阅读(244) 评论(0) 推荐(0)
摘要: 一、概述 1.Spring offers several options for configuring data-source beans in your Spring application, including these:  Data sources that are defined by 阅读全文
posted @ 2016-03-31 18:45 shamgod 阅读(360) 评论(0) 推荐(0)
摘要: 0.结构 一、JDBC层 1. 2. 3. 4. 二、Domain层 1. 2. 三、配置文件及数据库文件 1.JdbcConfig.java 2.或用xml配置(JdbcRepositoryTests-context.xml) 3.schema.sql 4.test-data.sql 四、测试文件 阅读全文
posted @ 2016-03-31 18:21 shamgod 阅读(351) 评论(0) 推荐(0)
摘要: 1.spring扩展的jdbc异常 2.Template的运行机制 Spring separates the fixed and variable parts of the data-access process into two distinct classes: templates and ca 阅读全文
posted @ 2016-03-31 18:07 shamgod 阅读(201) 评论(0) 推荐(0)
摘要: 1.把包含敏感信息的请求转为https请求,则较为安全,但如何只把有需要安全的请求转为https,而不是不加分辩就把所有请求都转为https呢?可以用requiresChannel() Any time a request comes in for /spitter/form, Spring Sec 阅读全文
posted @ 2016-03-31 15:13 shamgod 阅读(797) 评论(0) 推荐(0)
摘要: 1. 2.back_index.html 3. 4.main.html 5.outlook.js 6.crossbrowser.js 7.script/public.js 8.customer/customer_add.jsp 9.customer/customer_list.jsp 10.cust 阅读全文
posted @ 2016-03-28 11:34 shamgod 阅读(2020) 评论(0) 推荐(0)
摘要: 1. 2. 3. 4. 5. 6. 7. 阅读全文
posted @ 2016-03-28 11:25 shamgod 阅读(742) 评论(0) 推荐(0)
摘要: 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 阅读全文
posted @ 2016-03-28 11:23 shamgod 阅读(626) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 52 下一页
haha