
Java
chenym_hi
begin with the end
展开
-
jackson java转json hibernate懒加载造成的无限递归问题
@JsonIgnore @JsonFilter @JsonBackReference @JsonManagedReference @JsonIgnorePropertiesjackson中的@JsonBackReference和@JsonManagedReference,以及@JsonIgnore均是为了解决对象中存在双向引用导致的无限递归(infinite recursion)问题。这些标注原创 2015-11-05 11:11:23 · 5780 阅读 · 0 评论 -
修改java代码不用重启tomcat即生效
使用jrebel 6.4.0在VM arguments里加入配置-noverify -javaagent:D:\jrebel\jrebel.jar-Xbootclasspath/p:C:/Users/chenym/AppData/Local/Temp//rebelboot.jar-Drebel.spring_plugin=true-Drebel.struts2-原创 2016-05-26 17:50:11 · 2546 阅读 · 0 评论 -
JsonMappingException: failed to lazily initialize a collection of role
JsonMappingException: failed to lazily initialize a collection of role原创 2016-05-21 18:05:08 · 6199 阅读 · 0 评论