SSH
文章平均质量分 79
wuxifu001
这个作者很懒,什么都没留下…
展开
-
@resource注解为空
2. Auto Components Scanning——自动扫描组件 现在,看一下怎样运用Spring的自动扫描。 用注释@Component来表示这个Class是一个自动扫描组件。 Customer.java如下:package com.lei.customer.dao; import org.springframework.stereotype.Compone转载 2016-05-13 13:17:07 · 8978 阅读 · 0 评论 -
hibernate使用注解
重复配hibernate-mapping导致工作量加大,一张表要配置一个hibernate-mapping 使用注解 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org原创 2016-05-31 18:55:14 · 558 阅读 · 0 评论 -
springframework的一些配置
web.xml org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext.xml原创 2016-07-12 17:24:53 · 966 阅读 · 0 评论 -
java Collections对数组排序
package org.geekworld.webTest; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; /** * Hello world! * */ public cl原创 2016-08-03 13:14:20 · 574 阅读 · 0 评论 -
Spring Bean初始化过程
Spring Bean初始化过程 1. public class DispatcherServlet extends FrameworkServlet public abstract class FrameworkServlet extends HttpServletBean implements ApplicationContextAware public abstra原创 2016-07-30 17:56:05 · 1302 阅读 · 0 评论 -
mybatis 拦截器拦截所有sql
package org.geekworld.core.mybatis; import com.alibaba.fastjson.JSON; import org.apache.ibatis.cache.CacheKey; import org.apache.ibatis.executor.Executor; import org.apache.ibatis.mapping.BoundSql; i原创 2016-12-26 16:34:21 · 17691 阅读 · 2 评论