ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Rabe (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-19) DataMapper.Configuration.SqlGenerator.BuildDeleteQuery() table name
Date Mon, 03 Jan 2005 18:28:52 GMT
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
    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.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message