再次构架心得

1.注意使用hibernate annotation 要用AnnotationConfiguration

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

posted @ 2016-02-05 10:18  NewObject_1  阅读(126)  评论(0)    收藏  举报