Thanks, but, do you have any answer to get the connection directly? Another
project is running on a web-server which doesn't have a datasource, but uses
IBATIS



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Larry Meadors
Sent: Thursday, October 06, 2005 10:04 PM
To: user-java@ibatis.apache.org
Subject: Re: Getting connection from ibatis

That is what I would do, yes.

Larry


On 10/6/05, Agilan Palani <[EMAIL PROTECTED]> wrote:
> Iam already using a datasource for IBATIS, do you mean I need to lookup
that
> datasource again by-passing IBATIS and pass it to the taglib?
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
> Larry Meadors
> Sent: Thursday, October 06, 2005 8:12 PM
> To: user-java@ibatis.apache.org
> Subject: Re: Getting connection from ibatis
>
> The simplest way is to use JNDI for your datasource / transaction manager.
>
> Larry
>
> On 10/6/05, Agilan Palani <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi
> >
> >
> >
> > Iam using ibatis in my project, with JBoss application server.
> >
> >
> >
> > I have some taglibs from oracle which uploads ORDImages (Oracle specific
> > objects) to the database
> >
> > <ord:storeMedia >
> >
> > These tags either need  a connection or datasource, passed as one of its
> > argument to perform its task.
> >
> > Those tags will take care of committing and closing the connections.
> >
> >
> >
> > Q1. How do I get the connection from IBATIS?
> >
> > Q2. How do I get the datasource from IBATIS?
> >
> >
> >
> >             Any help will be very useful, thanks in advance.
> >
> >
> >
> > Regards
> >
> > Agilan Palani
>
>

Reply via email to