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

Roberto Rabe updated IBATISNET-19:
----------------------------------

    Attachment: IBatisNetDataMapper_Configuration_SqlGenerator.patch

Uploading diff/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
>     Priority: Minor
>  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

Reply via email to