geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Krishna Korrapati" <harikrishna.korrap...@gmail.com>
Subject Re: Problem with connection management
Date Tue, 18 Dec 2007 06:19:51 GMT
Hi Jacek,

I hope i am not using hibernate pool.
As per the documentation we can configure pool with hibernate as below

<!-- configuration pool via c3p0-->
<property name="c3p0.acquire_increment">1</property>
<property name="c3p0.idle_test_period">100</property> <!-- seconds -->
<property name="c3p0.max_size">100</property>
<property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">10</property>
<property name="c3p0.timeout">100</property> <!-- seconds -->
<!-- DEPRECATED very expensive property name="c3p0.validate>-->

And i could not see anything like above, in my configuration files.
I am using Geronimo pool only.
If i am anything wrong in the above context, do let me know.

On Dec 17, 2007 11:54 PM, Jacek Laskowski <jacek@laskowski.net.pl> wrote:

>
> Hi Hari,
>
> It's not an answer to your question, but I can't resist to ask about
> it - why do you use Hibernate and Geronimo pools? You'd be better off
> using Geronimo database pool in Hibernate. I think these two database
> pool might compete with each other.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>



-- 
Regards,
Hari

Mime
View raw message