You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Jason Pyeron <jp...@pdinc.us> on 2004/09/22 17:27:07 UTC
database connections...
PersistenceBroker broker;
//...
Connection C=broker.serviceConnectionManager().getConnection();
do we close this connection when we are done?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager #1 2739 Saint Paul Street -
- +1 (410) 808-6646 (c) Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately. Any other use of the email by you
is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: database connections...
Posted by Armin Waibel <ar...@apache.org>.
Hi,
Jason Pyeron wrote:
> PersistenceBroker broker;
> //...
> Connection C=broker.serviceConnectionManager().getConnection();
>
> do we close this connection when we are done?
>
Have a look at
http://db.apache.org/ojb/docu/guides/connection.html#Can+I+directly+obtain+a%0A++++++++++++++++
regards,
Armin
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org