摘要: 如果系统中存在多数据源,spring启动默认加载时,datasouce、session、transaction的id值不能设置为相同,必须对其使用不同的名称命名,否则将会出现数据调用问题。 如从mysql读取数据,则会始终提示no persistent classes found for query 阅读全文
posted @ 2016-06-03 20:44 Hutton‘ 阅读(788) 评论(0) 推荐(0) 编辑
摘要: reference from:http://blog.csdn.net/zhutulang/article/details/26968159 mappingResources、mappingLocations、mappingDirectoryLocations、mappingJarLocations 阅读全文
posted @ 2016-06-03 15:09 Hutton‘ 阅读(382) 评论(0) 推荐(0) 编辑