Spring配置:
http://apps.hi.baidu.com/share/detail/24559124
Hibernate配置:
http://apps.hi.baidu.com/share/detail/24558965#content