摘要:
@Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Resource默认按 byName自动注入罢了。@Resource有两个属性是比较重要的,分是name和type,Spring将@Resource注解的name属性解析为bean的名字,而ty 阅读全文
摘要:
1.注解 @TypeDefs:引入枚举类型 @JoinColumn(name = "brand_id", referencedColumnName = "id") ,name是本类(表)在数据库的字段名,referencedColumnName 是关联类(表)在数据库中的关联字段名 阅读全文
摘要:
svn--graph--include 阅读全文
摘要:
1.全局搜索:shift+command+f 2搜索类:command+o 3.光标向前向后移动:command+option+(左/右) 4.删除一行: command+delete 阅读全文
摘要:
安装svn时,提示This client is too old to work with working copy........原因:svn的版本过旧,安装1.8的svn即可。下面简要说明一些步骤: 在使用svn中的Subversion/Compare with Lastest Repositor 阅读全文
摘要:
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3.dtd"> ***Mapper.xml前面的配置文件 阅读全文
摘要:
HTTP Status 500 - Request processing failed; nested exception is org.springframework.validation.BindException: org.springframework.validation.BeanProp 阅读全文
摘要:
阅读全文