> Any link ?
http://openjpa.apache.org/faq.html#FAQ-HowdoIenableconnectionpoolinginOpenJPA%253F
Jean-Baptiste BRIAUD -- Novlog wrote:
>
> Thanks.
>
> On Sep 28, 2009, at 16:18 , Rick Curtis wrote:
>
>>
>> http://commons.apache.org/dbcp/configuration.html
>>
>>
>> Jean-Baptiste BRIAUD -- Novlo
Thanks.
On Sep 28, 2009, at 16:18 , Rick Curtis wrote:
http://commons.apache.org/dbcp/configuration.html
Jean-Baptiste BRIAUD -- Novlog wrote:
OK, it works but I'd like to set more options in the persistence.xml
like the pool size. I didn't find how to set that up. Any link ?
Thanks.
On
http://commons.apache.org/dbcp/configuration.html
Jean-Baptiste BRIAUD -- Novlog wrote:
>
> OK, it works but I'd like to set more options in the persistence.xml
> like the pool size. I didn't find how to set that up. Any link ?
>
> Thanks.
>
> On Sep 28, 2009, at 15:32 , Rick Curtis wrote:
OK, it works but I'd like to set more options in the persistence.xml
like the pool size. I didn't find how to set that up. Any link ?
Thanks.
On Sep 28, 2009, at 15:32 , Rick Curtis wrote:
I'd suggest using DBCP for connection pooling when not running in a
JEE
environment. Checkout this blo
Wow, thanks a lot.
This is clear, short, efficient. I'm trying it right now !
By the way, thanks for your blog that I read in the past and also
helped me choosing OpenJPA.
On Sep 28, 2009, at 15:32 , Rick Curtis wrote:
I'd suggest using DBCP for connection pooling when not running in a
JEE
I'd suggest using DBCP for connection pooling when not running in a JEE
environment. Checkout this blog post [1] that I wrote about this very issue
a few months back.
-Rick
[1]
http://webspherepersistence.blogspot.com/2009/01/jpa-connection-pooling.html
On Mon, Sep 28, 2009 at 3:53 AM, Jean-Bapt
On Mon, Sep 28, 2009 at 4:53 AM, Jean-Baptiste BRIAUD -- Novlog <
j-b.bri...@novlog.com> wrote:
> OK, so is there a way to have add pool behavior with only JDBC (without
> J2EE) ?
>
>
There are a number of ways to do this. I wanted to integrate with my
existing application framework and connection
OK, so is there a way to have add pool behavior with only JDBC
(without J2EE) ?
On Sep 28, 2009, at 05:04 , C N Davies wrote:
The doc says:
"EntityManagerFactory instances are heavyweight objects. Each
factory might
maintain a metadata cache, object state
cache, EntityManager pool, conne
The doc says:
"EntityManagerFactory instances are heavyweight objects. Each factory might
maintain a metadata cache, object state
cache, EntityManager pool, connection pool, and more."
"2.6.3. openjpa.jdbc.DriverDataSource
Property name: openjpa.jdbc.DriverDataSource
Configuration API:
org.apache
... more to the background of my problem :
I create an EM instance and loop, calling persist() on perhaps > 2,000
objects in batches of 50.
I run netstat -an | grep 1527 and observe thousands of TCP sessions being
open and closed. Eventually, there are almost 4,000 TCP sockets in
TIME_WAIT state.
10 matches
Mail list logo