openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Giblin <...@zurich.ibm.com>
Subject relationship EntityManager and JDBC Connection?
Date Sun, 27 Sep 2009 15:11:04 GMT

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:

 <property name="openjpa.ConnectionDriverName" value=
"org.apache.derby.jdbc.ClientDriver"/>

Sorry if I overlooked in the excellent documentation.

Thanks,chris


Mime
View raw message