ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mimy17 <ninn...@hotmail.com>
Subject Re: R: create table in a mapping file??
Date Tue, 08 Jul 2008 09:54:09 GMT

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:ninny12@hotmail.com]
> Inviato: lunedi 7 luglio 2008 11.46
> A: user-java@ibatis.apache.org
> 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.


Mime
View raw message