再次构架心得

1.注意使用hibernate annotation 要用AnnotationConfiguration

2.当未使用MyContextLoaderListener时,查询的在application-context.xml中需要配为required; 加上后改为SUPPORTS.  (原因未知,记住吧.可怜的技术!)

原文地址:https://www.cnblogs.com/yanjunwu/p/5182761.html