Connection Pooling with Spring & Hibernate

后端 未结 5 1088
北海茫月
北海茫月 2021-02-09 00:14

How to configure connection pooling with Spring and Hibernate?

Thanks

Venu

5条回答
  •  心在旅途
    2021-02-09 00:52

    You can use DBCP component

    
    
            
            
            
            
            
            
            
        
    
    
        
        
            
                
                    com.project.domain.Domain1
                    com.project.domain.Domain1
                
            
            
                
                    
                        ${hibernate.dialect}
                    
                    
                        ${hibernate.show_sql}
                    
                    
                        ${hibernate.show_statistics}
                    
                
            
        
    

提交回复
热议问题