crawling-hotels / api-server

0 stars 0 forks source link

멀티스레드 이용으로 생기는 DB Connection 예외 해결하기 #39

Closed bakseoyong closed 1 year ago

bakseoyong commented 1 year ago

여러 멀티스레드가 동시에 조회를 해서 디비에 조회/저장하다보니 org.hibernate.exception.JDBCConnectionException: Unable to release JDBC Connection [Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) 예외가 발생합니다. 이를 해결해야 합니다.

bakseoyong commented 1 year ago

어제 이후 해당 예외가 발생하지 않고 있습니다...