You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Timo Schnölzer <ts...@nsdcom.de> on 2006/11/20 14:52:00 UTC
refid
Hi Folks,
is it possible to include sqlparts dynamically:
<include refid="#valuePassed#_part" />
Or
<include refid="$valuePassed$_part" />
Thx for any hint!
Mit freundlichem Gruss
NSD Communication Consulting GmbH
Dipl.-Kfm.
Timo Schnölzer
(Geschäftsführer)
_________________________________________________
NSD Communication Consulting GmbH
Ludwig-Erhard Str. 8
45891 Gelsenkirchen
Telefon +49.209.94041.40
Fax +49.209.94041.99
e-mail timo.schnoelzer@nsdcom.de
_________________________________________________
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.
Ø
refid
Posted by Timo Schnölzer <ts...@nsdcom.de>.
Hi Folks,
please have a look for the sql part include in the sqlMaps:
1. the <sql> information have to be defined before (on top) of the include tag within an <select>
2. it is not possible to use "dynamic" includes like
<include refid="#valuePassed#_part" /> or <include refid="$valuePassed$_part" />
This is very important for y application as including a lot of snippets.
Thx for any help
Timo
-----Ursprüngliche Nachricht-----
Von: Timo Schnölzer [mailto:tschnoelzer@nsdcom.de]
Gesendet: Montag, 20. November 2006 16:09
An: user-java@ibatis.apache.org; lmeadors@apache.org
Betreff: AW: refid
Hi Larry,
sure i tried it. Sorry not working saying reference not found for sql include.
:´(
Timo
-----Ursprüngliche Nachricht-----
Von: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] Im Auftrag von Larry Meadors
Gesendet: Montag, 20. November 2006 16:04
An: user-java@ibatis.apache.org
Betreff: Re: refid
Did you try it?
If you didn't, please do and let us know. :)
If you did and it worked: yes.
Larry
On 11/20/06, Timo Schnölzer <ts...@nsdcom.de> wrote:
> Hi Folks,
>
> is it possible to include sqlparts dynamically:
>
> <include refid="#valuePassed#_part" />
>
> Or
>
> <include refid="$valuePassed$_part" />
>
> Thx for any hint!
>
>
> Mit freundlichem Gruss
>
> NSD Communication Consulting GmbH
>
>
>
>
> Dipl.-Kfm.
> Timo Schnölzer
> (Geschäftsführer)
>
>
>
> _________________________________________________
> NSD Communication Consulting GmbH
> Ludwig-Erhard Str. 8
> 45891 Gelsenkirchen
>
> Telefon +49.209.94041.40
> Fax +49.209.94041.99
> e-mail timo.schnoelzer@nsdcom.de
> _________________________________________________
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material
> in this e-mail is strictly forbidden.
>
>
> Ø
>
AW: refid
Posted by Timo Schnölzer <ts...@nsdcom.de>.
Hi Larry,
sure i tried it. Sorry not working saying reference not found for sql include.
:´(
Timo
-----Ursprüngliche Nachricht-----
Von: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] Im Auftrag von Larry Meadors
Gesendet: Montag, 20. November 2006 16:04
An: user-java@ibatis.apache.org
Betreff: Re: refid
Did you try it?
If you didn't, please do and let us know. :)
If you did and it worked: yes.
Larry
On 11/20/06, Timo Schnölzer <ts...@nsdcom.de> wrote:
> Hi Folks,
>
> is it possible to include sqlparts dynamically:
>
> <include refid="#valuePassed#_part" />
>
> Or
>
> <include refid="$valuePassed$_part" />
>
> Thx for any hint!
>
>
> Mit freundlichem Gruss
>
> NSD Communication Consulting GmbH
>
>
>
>
> Dipl.-Kfm.
> Timo Schnölzer
> (Geschäftsführer)
>
>
>
> _________________________________________________
> NSD Communication Consulting GmbH
> Ludwig-Erhard Str. 8
> 45891 Gelsenkirchen
>
> Telefon +49.209.94041.40
> Fax +49.209.94041.99
> e-mail timo.schnoelzer@nsdcom.de
> _________________________________________________
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material
> in this e-mail is strictly forbidden.
>
>
> Ø
>
Re: refid
Posted by Larry Meadors <lm...@apache.org>.
Did you try it?
If you didn't, please do and let us know. :)
If you did and it worked: yes.
Larry
On 11/20/06, Timo Schnölzer <ts...@nsdcom.de> wrote:
> Hi Folks,
>
> is it possible to include sqlparts dynamically:
>
> <include refid="#valuePassed#_part" />
>
> Or
>
> <include refid="$valuePassed$_part" />
>
> Thx for any hint!
>
>
> Mit freundlichem Gruss
>
> NSD Communication Consulting GmbH
>
>
>
>
> Dipl.-Kfm.
> Timo Schnölzer
> (Geschäftsführer)
>
>
>
> _________________________________________________
> NSD Communication Consulting GmbH
> Ludwig-Erhard Str. 8
> 45891 Gelsenkirchen
>
> Telefon +49.209.94041.40
> Fax +49.209.94041.99
> e-mail timo.schnoelzer@nsdcom.de
> _________________________________________________
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
>
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material
> in this e-mail is strictly forbidden.
>
>
> Ø
>