ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Abator generated SqlMap.xml files
Date Tue, 20 Mar 2007 12:17:11 GMT
Abator only uses the catalog and schema in the file names if you specify
them in your configuration.  I don't know Postgres, but with SQL Server you
can leave the catalog out of the <table> configuration elements and specify
the default database name on the connection URL.

Jeff Butler

On 3/19/07, Mark Volkmann <mark@ociweb.com> wrote:
> When I run Abator against a MySQL database I get files with names
> like {table-name}_SqlMap.xml.
> When I run against Postgres or SQL Server I get files with names like
> {database_name}_{table-name}_SqlMap.xml.
> Is there anything I can do to get Abator to not add the database name
> prefix for Postgres and SQL Server so I don't have to change my code
> when the database type changes?

View raw message