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 "Hariharan, Vadivelu (IE10)" <Ha...@honeywell.com> on 2006/10/12 18:43:44 UTC

Abator genartion with schema name

Hi,

 

I guess this should be a simple one, but I'm not able to figure it out

 

How can I avoid schemaname.tablename in my abator generated mapping files.

 

I want the SQL's to just have the tablename.

 

 

Thx.

- Hari 

 <http://jroller.com/page/hariinfo> blog  mail <ma...@gmail.com> 

 


Re: Abator genartion with schema name

Posted by Jeff Butler <je...@gmail.com>.
There is support for this in SVN, but it is not released yet.  If you build
Abator from the source in SVN you can use it like this:

<table schema="schema" tableName="table">
  <property name="ignoreQualifiersAtRuntime" value="true"/>
</table>

This will generate SQL that only refers to "table", not "schema.table".

Jeff Butler



On 10/12/06, Hariharan, Vadivelu (IE10) <Ha...@honeywell.com>
wrote:
>
>  Hi,
>
>
>
> I guess this should be a simple one, but I'm not able to figure it out
>
>
>
> How can I avoid schemaname.tablename in my abator generated mapping files.
>
>
>
> I want the SQL's to just have the tablename.
>
>
>
>
>
> Thx.
>
> - Hari
>
> *blog* <http://jroller.com/page/hariinfo>  *mail <ha...@gmail.com>*
>
>
>
>