在春季配置数据源并在休眠映射
答
您可以在Spring参考资料中找到一个示例(http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#orm-hibernate)。