ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Parametric table name
Date Fri, 18 Feb 2005 03:30:14 GMT
you would want to use the literal $tabPrefix$ notation.

Brandon


On Tue, 15 Feb 2005 17:06:53 +0100, Vincenzo Graziadei
<vincenzo.graziadei@polaris-informatica.it> wrote:
> > It's possible , with iBatis for Java, to have a dynamic table name, like
> > this :
> >
> >       <select id="getRighe"
> >                       resultMap="resultRighe"
> >                       parameterClass="java.util.Map">
> >               <![CDATA[
> >               select *
> >               from #tabPrefix#_righe
> >               where IDUtente = #IDUtente#
> >               ]]>
> >
> > Thank You
> >
> > Vincenzo Graziadei
> >
> >
> 
>

Mime
View raw message