Hi,

It works very well with the <statement> tag and # character to escape.

Many thanks



Davide Rogora wrote:
> 
> We create tables with iBatis <statement> tag and it works perfectly
> 
> I.e.:
> <statement id="createTableFoo">
>       CREATE TABLE [dbo].[FooTable]
>       .....
> </statement>
> 
> Remember that if the table name contains # character, you have to escape
> it,
> otherwhise iBatis will treat it like a field placeholder.
> 
> Davide.
> 
> 
> -----Messaggio originale-----
> Da: mimy17 [mailto:[EMAIL PROTECTED]
> Inviato: lunedi 7 luglio 2008 11.46
> A: [email protected]
> Oggetto: create table in a mapping file??
> 
> 
> 
> Hi,
> 
> I would like to know if it's possible to create a temporary table in
> mapping
> file and how?
> 
> Thanks
> --
> View this message in context:
> http://www.nabble.com/create-table-in-a-mapping-file---tp18313227p18313227.h
> tml
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/create-table-in-a-mapping-file---tp18313227p18335639.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to