Spring 2.5 是不是和 Spring2.0 不兼容啊?

阅读更多
原先配置的事务处理现在都不可用了,总是抛出hibernate异常:
javax.servlet.ServletException: org.hibernate.HibernateException: createQuery is not valid without active transaction
	org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
	org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)


我的配置如下:
hibernate.xml


	
	
		
	



tx.xml


	
	
        
    

    
        
            
            
            
            
        
    

    
        
    



business.xml



	
	
		
	
	
	
	
		
	
	
	
	
		
		
	

你可能感兴趣的:(Spring,Hibernate,iBATIS,XML,Google)