让spring的AnnotationSessionFactoryBean支持路径扫描 但 spring annotations 的 hibernate module 所提供的 AutomaticAnnotationSessionFactoryBean 一直是我很喜歡的功能。 平步星云 2010-04-16 09:46:38