最新回答 / MotoDoctor
你要理解 只读事务的概念,推荐看一下这篇文章 http://boy00fly.iteye.com/blog/1142754
已采纳回答 / 东东爱编码
意思很明显啊 你这个事务通知标签中没有transaction-manager这个属性。你把它的schema加上,看有没有提示,一般有提示,就不会出错。
2016-09-27
已采纳回答 / 慕粉3312226
Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'driver' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: Bean property 'driver' is not writable or has an invalid setter...
2016-09-08
最新回答 / 曲胡弓上的缅怀星光
没有 C3P0 jar包,Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mchange.v2.c3p0.ComboPooledDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext1.xml]; nested exceptio...
2016-08-31
最赞回答 / hydraWindy
你要下载对应的包的源码包,然后Attached Source。视频中应该是后缀为jar的源码src压缩包,并不是直接查看的.class文件。
已采纳回答 / study_user3879588
<aop:advisor advice-ref="txAdvice" pointcut="pointcut1" />应该为: <aop:advisor advice-ref="txAdvice" pointcut-ref="pointcut1" />
2016-08-26
最新回答 / ATWJSW
只是不同方式而已,Service层也可以用@Resource @Autowired