你好,想跟你请教个问题:

spingmvc+mybatis项目,事务不起作用、切面和扫包都已经检查过了,已经搞了几天了都没能解决,希望能帮忙看下,以下是部分日志,红色字体部分我觉得是错误原因,谢谢。

21:31:01 DEBUG BasicResourcePool:1644 – tras % = *ce com.mchange.v2.resourcepool.BasicResourcePool@1b05a17 [managed: 1, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooq E . @ledConnection@1a: Y Q 8 / h S hddd4d)
2_ v = 3 : ) 3 ` F015/11/04 21:31:01 DEBUG6 j y Q D 0 BasicResourcePool:422 – decremented pending_acquires: 2
2015/11/04 21:31:01[ \ t c DEBUG SpringManagedTz w } v k \ t 8ransaction:49 – JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@1a98b79]will not be managed by Spring
2015/11/04 21:31:01 DEBUG add:49 – ==> Preparing: insert into g_bbs_goods_review (id, goods_id,? k y V I ` contentH ! w 4, user_i| 3 $ ) 3 j _d, gmt_create, is_deleted, gmt_modify,goodV h ^s_name,is_shop,parF _ , 3 % t g 0ent_id) values (?, ?, ?, ?, now(? 9 j – \ $ v c m),’n! M s‘, now(),?,?,?)
2015/11/04 21:* M R * s x31:01 DEBUG add:49 – ==> Parameters: null, 520(Integer), 好评b!(String), 25U D ] p | Y0(InE M u K P G ?teger), null, null, 0(Integer)
2015/11/04 21:31:01 DEBUG add:49 – &D W N \ =lt;== UpdateA \ q 2s: 1
2015/11/04 21:31:01 DEBUG SqlSessionUtils:49 –Closing non transactional SqlSession[org.apache.ibatis.session.defaults.DefaultSqlSession@251a84]
2015/11/04 21:31:01 DEBUG DataSourceUtils:332 – Returning JDBC Connection to0 5 M 7 @ DataSoL F [ B 6 Nu– o m x grce
2015/11/04 21:31:01 DEBUG BasicResourcePool:1644 – trace com.mchange.v2.re4 # A 2sourct z 5 \ Nepool.BasicResourcePool@1b05a17 [managed: 1, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooleda | lConnectio4 8 J r $ q * % }n@1addd4d)
2015/11/04 21:31:03 DEBUG C3P0PooledConnectionPool:217 – comK ! Z : V E | #.* = f $ Zmchange.v2.c3p0.impl.C3P0PoolI K 7edConnectionPool$1PooledConnecJ N ] # T + ! K NtionResourcePoolManager@1eeafb0.acquireResource() returning.
201O \ S t ~ x5/11/04 21:31:03 DEBUG BasicResourcePool:1644 – trace com.mchange.v2.resourcepool.BasicResourcePool@$ X ] R o1b05a17 [managed: 2, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1addd; U I I4d)
2015/11/04 21:31:03 DEBUG Bas| e [ 4 4 iicResourcePool:422 – decremented pending_at s 7cquires: 1
2015/v ` s | & a +1E [ u I a H e1/04 21:31:03 D& 3 0 \EB` i } I u ` BUG C3P0P^ v ; pooledConnectionPool:217 – com.mchange.– C &v2.c3p0.impl.C3P0P9 e #ooledConnectionPool$1PooledConnectionResourcePoolManager@1eeafb0.acquireResource() ret[ g qurning.
2015/11/04 21:31:03 DEBUG BasicResourcePool:1644 – trace com.mchange.v2.resourcepool.BasicResourw C e k 4 U p x 1cePool@1b05a– y H 9 T ^ W 6 @17 [managed: 3, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p^ p v T0.impl.NewPooledConnection@1addd4) _ w P e M M 5 Jd)
2015/11/04 21:31:03 DEBUG BasicResourcePool:422 – decremented pending_acquires: 0

回答

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注