In general we are configuring connection pooling in application server and again we are configuring in hibernate(in hiberate project).. What is the use of this... Both thing are Mandatory one.. please clarifiy me..
Hibernate's own connection pooling algorithm is, however, quite rudimentary. It is intended to help you get started and is not intended for use in a production system, or even for performance testing. You should use a third party pool for best performance and stability. Just replace the hibernate.connection.pool_size property with connection pool specific settings. This will turn off Hibernate's internal pool.