Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a connection checkout in Hibernate c3p0?

Tags:

hibernate

c3p0

I am looking at the documentation of c3p0 where they have coined the term connection checkout, can someone explain what it means?

like image 379
Vishrant Avatar asked Oct 27 '25 06:10

Vishrant


1 Answers

If you Ctrl-F the document, you'll find

just prior to being handed to clients on checkout, just prior to being returned to the pool on check-in.

Check-out means getting a connection from the pool.

Check-in means giving back a connection to the pool.

like image 76
JB Nizet Avatar answered Oct 30 '25 11:10

JB Nizet