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 Armin Waibel <ar...@code-au-lait.de> on 2003/05/31 14:04:45 UTC

Re: Get a JDBC connection to give to another lib

Yep!
see
http://db.apache.org/ojb/faq.html

regards,
Armin

----- Original Message -----
From: "Edson Carlos Ericksson Richter"
<ed...@mgrinformatica.com.br>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Saturday, May 31, 2003 2:10 PM
Subject: Get a JDBC connection to give to another lib


> Hi!
>
> I've a lib that needs a JDBC connection to work. The correct way to
obtain a
> connection is:
>
> java.sql.Connection cn =
pbroker.serviceConnectionManager.getConnection();
>
> ???
>
> Thanks,
>
> Edson Richter
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.486 / Virus Database: 284 - Release Date: 29/5/2003
>