1

After reading this article - "Connection pooling options with JDBC: DBCP vs C3P0"; About how Apache DBCP is out of date, not production graded and not supported by hibernate, I'm confused why people are still using it instead other connection pools like C3P0?

For example: In this tutorial created May 2012 - Spring Hibernate Integration Tutorial

<bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> ... </bean>
Community
  • 1
  • 1
JackDev
  • 11,003
  • 12
  • 51
  • 68

1 Answers1

0

The article you linked to says:

UPDATE: It turns out that after many years of sitting on a shelf, the Apache Commons folk have taken DBCP out of dormancy and it is now, once again, an actively developed project. Thus my original post may be out of date.

So, maybe the issues in the article have been met by others, or maybe they've been fixed now. Make up your own opinion.

JB Nizet
  • 678,734
  • 91
  • 1,224
  • 1,255
  • Yes good pick up. Looking at http://commons.apache.org/dbcp/ the last updated date is 25 November 2010 on Version: 1.4.1-SNAPSHOT which is 1.5 years ago.. And in this article http://wiki.apache.org/commons/DBCP/Hibernate published on Jan 2011 it mentions limited support for DBCP on Hibernate 2. – JackDev Jul 28 '12 at 09:29