信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 1000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> z8kfsx9m1m0nssi1s77551|7aaca91a, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kfsx9m1m0nssi1s77551|7aaca91a, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://127.0.0.1:3306/graduation?useUnicode=true&characterEncoding=utf8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
16:33:54.730 [main] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@5af9926a] will not be managed by Spring
16:33:54.736 [main] DEBUG o.a.dao.AccountDao.queryByName - ==> Preparing: select a_id,a_name,a_password,a_grade,a_enable from account where a_name = ? and a_password = ? and a_enable = 1
16:33:54.908 [main] DEBUG o.a.dao.AccountDao.queryByName - ==> Parameters: admin(String), 123(String)
16:33:54.941 [main] DEBUG o.a.dao.AccountDao.queryByName - <== Total: 1
16:33:54.949 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1b5bc39d]
null三月 15, 2017 4:33:54 下午 org.springframework.context.support.GenericApplicationContext doClose
信息: Closing org.springframework.context.support.GenericApplicationContext@731f8236: startup date [Wed Mar 15 16:33:52 CST 2017]; root of context hierarchy
Disconnected from the target VM, address: '127.0.0.1:42779', transport: 'socket'
问一下啊该怎么解决
请问题主最后如何解决该问题的?
什么查不出来?日志里不是有 Total: 1?