spring
elvesfish
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring quartz集群
spring quartz 集群配置信息原创 2016-05-31 14:48:56 · 521 阅读 · 0 评论 -
Ehcache 分布式缓存 -springMVC
EHcache:http://www.ehcache.org/documentation/index EhCache 分布式缓存/缓存集群 开发环境: System:Windows JavaEE Server:tomcat5.0.2.8、tomcat6 JavaSDK: jdk6+ IDE:eclipse、MyEclipse 6.6转载 2017-04-17 17:24:35 · 531 阅读 · 0 评论 -
spring jpa动态条件查询并分页
@GetMapping("/api/listPage") @ResponseBody public Map listPage(@RequestParam(value = "pageNumber", defaultValue = "1") Integer pageNumber, @RequestParam原创 2017-12-18 10:47:07 · 3510 阅读 · 1 评论 -
spring data jpa动态条件查询
这里,spring data jpa为我们提供了JpaSpecificationExecutor接口,只要简单实现toPredicate方法就可以实现复杂的查询 @Repository public interface MonitorRepository extends JpaRepository, Long>, JpaSpecificationExecutor { }原创 2017-12-18 10:51:25 · 2849 阅读 · 1 评论 -
spring boot +shiro+freemarker
spring boot + shiro +freemark ftl页面加上shiro-tag组件 1.pom.xml UTF-8 UTF-8 1.8 1.4.0 5.0.1.RELEASE org.springframework.boot spring-boot-starter-freemarker o原创 2017-12-28 15:49:58 · 2430 阅读 · 0 评论 -
自增长:java.sql.SQLException: Field 'id' doesn't have a default value
自增长:java.sql.SQLException: Field 'id' doesn't have a default value 今天用java程序向mysql数据库中进行数据记录的时候,用的id自增长时,报了异常java.sql.SQLException: Field 'id' doesn't have a default value错误,看了一篇博文,决定按他的方法试试。:其中现在修改了...转载 2018-03-22 14:44:51 · 1554 阅读 · 0 评论 -
spring-boot-cache
Spring定义了org.springframework.cache.CacheManager和org.springframework.cache.Cache接口用来统一不 同的缓存技术。其中,CacheManager是Spring提供的各种缓存技术抽象接口,Cache接口包含缓存的各种操作(增 删改查,我们一般不会直接和此接口打交道)。 针对不同的缓存技术,是需要实现不...转载 2018-04-02 11:05:00 · 249 阅读 · 0 评论
分享