最新回答 / 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