ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <lmead...@apache.org>
Subject Re: Getting connection from ibatis
Date Thu, 06 Oct 2005 14:04:04 GMT
That is what I would do, yes.

Larry


On 10/6/05, Agilan Palani <agilan@bntasia.com> 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: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] 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 <agilan@bntasia.com> 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
>
>

Mime
View raw message