mybatis configuration

阅读更多



	
	
	
	
	
	
	
		
		   
				classpath:db.properties
		   
		
		
		
		
		
	
	
	
		
		
		
		
	
	
	
	
		
	

	
	
		
		
		
		
		
	

	
	
		
		 
		
		
	
	
	
	
	



----------- maper interface ---------
2014-02-14 16:20:53,250 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:550)     - Looking for matching resources in directory tree [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\mapper]
2014-02-14 16:20:53,250 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:612)     - Searching directory [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\mapper] for files matching pattern [D:/work/sts3.3/myBatisDemo/target/classes/com/lasho/mybatis/mapper/**/*.class]
2014-02-14 16:20:53,251 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:351)     - Resolved location pattern [classpath*:com/lasho/mybatis/mapper/**/*.class] to resources [file [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\mapper\CodeMapper.class]]
2014-02-14 16:20:53,252 DEBUG [main] mapper.ClassPathMapperScanner (ClassPathScanningCandidateComponentProvider.java:264)     - Identified candidate component class: file [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\mapper\CodeMapper.class]
2014-02-14 16:20:53,252 DEBUG [main] mapper.ClassPathMapperScanner (ClassPathMapperScanner.java:161)     - Creating MapperFactoryBean with name 'codeMapper' and 'com.lasho.mybatis.mapper.CodeMapper' mapperInterface
------------ mapper location -----------
2014-02-14 16:20:53,427 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:550)     - Looking for matching resources in directory tree [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\xmlmapper]
2014-02-14 16:20:53,428 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:612)     - Searching directory [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\xmlmapper] for files matching pattern [D:/work/sts3.3/myBatisDemo/target/classes/com/lasho/mybatis/xmlmapper/*.xml]
2014-02-14 16:20:53,429 DEBUG [main] support.PathMatchingResourcePatternResolver (PathMatchingResourcePatternResolver.java:351)     - Resolved location pattern [classpath*:com/lasho/mybatis/xmlmapper/*.xml] to resources [file [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\xmlmapper\CodeMapper.xml]]
2014-02-14 16:20:53,431 DEBUG [main] support.DefaultListableBeanFactory (AbstractAutowireCapableBeanFactory.java:1531)     - Invoking afterPropertiesSet() on bean with name 'sessionFactory'
-----------  instance  ----------
2014-02-14 16:20:53,925 DEBUG [main] spring.SqlSessionFactoryBean (Slf4jImpl.java:47)     - Parsed mapper file: 'file [D:\work\sts3.3\myBatisDemo\target\classes\com\lasho\mybatis\xmlmapper\CodeMapper.xml]'
2014-02-14 16:20:53,926 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2014-02-14 16:20:53,927 DEBUG [main] support.DefaultListableBeanFactory (AbstractAutowireCapableBeanFactory.java:463)     - Finished creating instance of bean 'sessionFactory'
2014-02-14 16:20:53,927 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2014-02-14 16:20:53,936 DEBUG [main] support.DefaultListableBeanFactory (AbstractAutowireCapableBeanFactory.java:1531)     - Invoking afterPropertiesSet() on bean with name 'codeMapper'
2014-02-14 16:20:53,936 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2014-02-14 16:20:53,937 DEBUG [main] support.DefaultListableBeanFactory (AbstractAutowireCapableBeanFactory.java:463)     - Finished creating instance of bean 'codeMapper'
2014-02-14 16:20:53,938 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'codeMapper'
2014-02-14 16:20:53,941 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2014-02-14 16:20:53,942 DEBUG [main] annotation.AutowiredAnnotationBeanPostProcessor (AutowiredAnnotationBeanPostProcessor.java:433)     - Autowiring by type from bean name 'codeServiceImpl' to bean named 'codeMapper'
2014-02-14 16:20:53,943 DEBUG [main] support.DefaultListableBeanFactory (AbstractBeanFactory.java:246)     - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
2014-02-14 16:20:53,944 DEBUG [main] support.DefaultListableBeanFactory (AbstractAutowireCapableBeanFactory.java:463)     - Finished creating instance of bean 'codeServiceImpl'

你可能感兴趣的:(mybatis)