老师,遇到了一个问题,很久都没有解决,你看看是怎么回事?
来源:8-1 商品添加之Dao层的实现
qq_独闭关中_0
2019-09-10
22:11:39.419 [main] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using ‘class org.apache.ibatis.logging.slf4j.Slf4jImpl’ adapter.
22:11:39.491 [main] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VFS
22:11:39.491 [main] DEBUG org.apache.ibatis.io.JBoss6VFS - JBoss 6 VFS API is not available in this environment.
22:11:39.491 [main] DEBUG org.apache.ibatis.io.VFS - Class not found: org.jboss.vfs.VirtualFile
22:11:39.491 [main] DEBUG org.apache.ibatis.io.VFS - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
22:11:39.491 [main] DEBUG org.apache.ibatis.io.VFS - Using VFS adapter org.apache.ibatis.io.DefaultVFS
22:11:39.491 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Scanned package: ‘com.qsf.entity’ for aliases
22:11:39.535 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [mybatis-config.xml]'
22:11:39.598 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\AreaDao.xml]'
22:11:39.620 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\ProductCategoryDao.xml]'
22:11:39.667 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\ProductDao.xml]'
22:11:39.667 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\ProductImgDao.xml]'
22:11:39.682 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\ShopCategoryDao.xml]'
22:11:39.704 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\QSF\eclipse-workspace\bysj\target\classes\mapper\ShopDao.xml]'
22:11:39.898 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
22:11:39.905 [main] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@74f6c5d8] was not registered for synchronization because synchronization is not active
九月 10, 2019 10:11:39 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
信息: Initializing c3p0 pool… com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 10000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge329a57mugiubmsmla|747ddf94, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge329a57mugiubmsmla|747ddf94, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/bysj?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 ]
22:11:40.337 [main] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@658c5a19] will not be managed by Spring
22:11:40.352 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.batchInsertProductImg - ==> Preparing: INSERT INTO tb_product_img(img_addr,img_desc,priority, create_time,product_id) VALUES ( ?, ?, ?, ?, ? ) , ( ?, ?, ?, ?, ? )
22:11:40.406 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.batchInsertProductImg - ==> Parameters: 图片1(String), 测试图片1(String), 1(Integer), 2019-09-10 22:11:39.883(Timestamp), 1(Long), 图片2(String), null, 1(Integer), 2019-09-10 22:11:39.883(Timestamp), 1(Long)
22:11:40.421 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@74f6c5d8]
九月 10, 2019 10:11:40 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
九月 10, 2019 10:11:40 下午 org.springframework.jdbc.support.SQLErrorCodesFactory
信息: SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]
22:11:40.496 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
22:11:40.496 [main] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f6f416f] was not registered for synchronization because synchronization is not active
22:11:40.496 [main] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@44c73c26] will not be managed by Spring
22:11:40.496 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.queryProductImgList - ==> Preparing: SELECT product_img_id, img_addr, img_desc, priority, create_time, product_id FROM tb_product_img WHERE product_id=? ORDER BY product_img_id ASC
22:11:40.496 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.queryProductImgList - > Parameters: 1(Long)
22:11:40.506 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.queryProductImgList - < Total: 0
22:11:40.506 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f6f416f]
22:11:40.506 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
22:11:40.506 [main] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7fbdb894] was not registered for synchronization because synchronization is not active
22:11:40.506 [main] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@3148f668] will not be managed by Spring
22:11:40.506 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.deleteProductImgByProductId - ==> Preparing: DELETE FROM tb_product_img WHERE product_id = ?
22:11:40.506 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.deleteProductImgByProductId - > Parameters: 1(Long)
22:11:40.506 [main] DEBUG com.qsf.bysj.dao.ProductImgDao.deleteProductImgByProductId - < Updates: 0
22:11:40.506 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7fbdb894]
九月 10, 2019 10:11:40 下午 org.springframework.context.support.GenericApplicationContext doClose
信息: Closing org.springframework.context.support.GenericApplicationContext@6767c1fc: startup date [Tue Sep 10 22:11:38 CST 2019]; root of context hierarchy
1回答
-
翔仔
2019-09-11
同学好,信息里面没有异常,我也不知道同学遇到啥问题了,辛苦详细描述一下。。
012019-09-11
相似问题