05 2017 档案

摘要:第一步: BeanUtils.copyProperties()与PropertyUtils.copyProperties() 1、 通过反射将一个对象的值赋值个另外一个对象(前提是对象中属性的名字相同)。 2、 BeanUtils.copyProperties(obj1,obj2); 经常闹混不知道是谁给谁赋值,无意中先到"后付前"这个词来帮助自己记忆这个功能。即将obj2的值赋值给ob... 阅读全文
posted @ 2017-05-11 17:13 码农兜兜 阅读(26588) 评论(5) 推荐(0)
摘要:public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("Id",getId()) .append("AdClientId",getAdClientId()) .append("AdOrgId",getAdOrgId()) .append("Posid",... 阅读全文
posted @ 2017-05-10 17:33 码农兜兜 阅读(2401) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2017-05-09 10:20 码农兜兜 阅读(100) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-05-09 10:17 码农兜兜 阅读(92) 评论(0) 推荐(0)
摘要:Hibernate SQL方言 (hibernate.dialect)Spring配置文件applicationContext.xml Hibernate SQL方言 (hibernate.dialect) 数据库 hibernate方言 DB2 org.hibernate.dialect.DB2Dialect DB2 AS/400 org.hibernate.dialect.D... 阅读全文
posted @ 2017-05-05 09:27 码农兜兜 阅读(3183) 评论(0) 推荐(0)