You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org> on 2005/01/03 21:06:50 UTC

[jira] Closed: (IBATISNET-19) DataMapper.Configuration.SqlGenerator.BuildDeleteQuery() table name

     [ http://issues.apache.org/jira/browse/IBATISNET-19?page=history ]
     
Gilles Bayon closed IBATISNET-19:
---------------------------------

      Assign To: Gilles Bayon
     Resolution: Fixed
    Fix Version: DataMapper 1.1

Applied patch

> DataMapper.Configuration.SqlGenerator.BuildDeleteQuery() table name
> -------------------------------------------------------------------
>
>          Key: IBATISNET-19
>          URL: http://issues.apache.org/jira/browse/IBATISNET-19
>      Project: iBatis for .NET
>         Type: Bug
>  Environment: Latest iBATIS.NET source from SVN using MySql or Oracle (and perhaps other non-MSSQL databases)
>     Reporter: Roberto Rabe
>     Assignee: Gilles Bayon
>     Priority: Minor
>      Fix For: DataMapper 1.1
>  Attachments: IBatisNetDataMapper_Configuration_SqlGenerator.patch
>
> Minor issue with quick fix.
> Generated DELETE SQL statement is being generated as "DELETE FROM [tablename]..." and is causing SQL syntax errors for non-MSSQL databases.  
> Brackets are being added to the SQL statement on line 256 in IBatisNet.DataMapper.Configuration.SqlGenerator.BuildDeleteQuery():
> output.Append("\t[" + delete.Generate.Table + "]");
> I'll upload the patch/diff after creating this JIRA issue.
> Roberto

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira