elease the connection back to the pool."
>>>>>>
>>>>>>
>>>>>> -Original Message-
>>>>>> From: Christopher Giblin [mailto:c...@zurich.ibm.com]
>>>>>> Sent: Monday, 28 September 2009 1:11 AM
>>&
iblin [mailto:c...@zurich.ibm.com]
Sent: Monday, 28 September 2009 1:11 AM
To: users@openjpa.apache.org
Subject: relationship EntityManager and JDBC Connection?
Hi,
Does an EntityManager instance correspond one-to-one to a JDBC
connection?
When the EM is closed, is the JDBC connection closed? That
t configuration, OpenJPA obtains JDBC connections on
>>>> an
>>>> as-needed basis. OpenJPA EntityManagers do not retain
>>>> a connection to the database unless they are in a datastore
>>>> transaction or
>>>> there are open Query
, EntityManagers request a connection for each
query, then immediately release the connection back to the pool."
-Original Message-
From: Christopher Giblin [mailto:c...@zurich.ibm.com]
Sent: Monday, 28 September 2009 1:11 AM
To: users@openjpa.apache.org
Subject: relationshi
g optimistic
transactions, EntityManagers request a connection for each
query, then immediately release the connection back to the pool."
-Original Message-
From: Christopher Giblin [mailto:c...@zurich.ibm.com]
Sent: Monday, 28 September 2009 1:11 AM
To: users@openjpa.apache.or
s request a connection for each
>> query, then immediately release the connection back to the pool."
>>
>>
>> -----Original Message-
>> From: Christopher Giblin [mailto:c...@zurich.ibm.com]
>> Sent: Monday, 28 September 2009 1:11 AM
>> To: users@openjpa
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
g optimistic
transactions, EntityManagers request a connection for each
query, then immediately release the connection back to the pool."
-Original Message-
From: Christopher Giblin [mailto:c...@zurich.ibm.com]
Sent: Monday, 28 September 2009 1:11 AM
To: users@openjpa.apache.org
Subject:
"
-Original Message-
From: Christopher Giblin [mailto:c...@zurich.ibm.com]
Sent: Monday, 28 September 2009 1:11 AM
To: users@openjpa.apache.org
Subject: relationship EntityManager and JDBC Connection?
Hi,
Does an EntityManager instance correspond one-to-one to a JDBC connection?
When
... 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.
Hi,
Does an EntityManager instance correspond one-to-one to a JDBC connection?
When the EM is closed, is the JDBC connection closed? That is, by opening
and closing EMs, is one also opening and closing JDBC connections?
I am using OpenJPA with Derby. There is no connection pooling:
Sorry if
11 matches
Mail list logo