Thanks for the answer.
However I am using ibatis DAO Api and am having hard time figuring out
how to get it to use already initiated connection.

Any help would be greatly appreciated.
Thanks 

-----Original Message-----
From: Sven Boden [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 13, 2006 10:46 AM
To: [email protected]
Subject: Re: Outside Connection


It exists... it's called openSession as in e.g. :

    locator = ServiceLocator.getInstance();
    ds = (DataSource)locator.getDataSource("jdbc/myOracleDb");
    conn = ds.getConnection("giuseppe", "verdi");

    // SqlMapClient and SqlMapSession
    sqlMap = SqlAppConfig.getSqlMapInstance();
    sqlSess = sqlMap.openSession(conn);

Regards,
Sven

Adnan Atic wrote:

>Is it possible to pass already initiated db connection to Ibatis?
> 
>
>  
>

Reply via email to