欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

hibernate connection pool timeout Hibernate 

程序员文章站 2024-02-20 18:13:16
...
be sure wait_timeout in your my.cnf file is set to a value greater than the idle_timeout set in your connection pool. (they both are seconds in units)

otherwise the server will kill the connection from behind, with the pool thinking it should still be alive, you'll get one of these here SocketException fangles.
hibernate connection pool timeout
            
    
    
        Hibernate hibernate connection pool timeout
            
    
    
        Hibernate 
相关标签: Hibernate