Hibernate打印sql语句

只需要一行简单的属性就可以搞定了。如下代码


        
            
                
            
        
		
        
		
			
				classpath*:com/zhiwei/credit/model/**/*.hbm.xml
				classpath*:com/credit/proj/hbms/*.hbm.xml
				classpath*:sql-mapping/**/*.hbm.xml
				classpath:jbpm.repository.hbm.xml
				classpath:jbpm.execution.hbm.xml
				classpath:jbpm.history.hbm.xml
				classpath:jbpm.task.hbm.xml
				classpath:jbpm.identity.hbm.xml
			
		
		
			
				true
				utf-8
				${hibernate.dialect}
				20
				20
				
				true
			
		
	


你可能感兴趣的:(Hibernate)