db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-176) Avoid additional brackets in sql if many same operators are chained
Date Mon, 30 Jan 2012 18:22:10 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox resolved TORQUE-176.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Thomas Fox

done, see org.apache.torque.sql.SqlBuilderTest.testAndCriterions()
                
> Avoid additional brackets in sql if many same operators are chained
> -------------------------------------------------------------------
>
>                 Key: TORQUE-176
>                 URL: https://issues.apache.org/jira/browse/TORQUE-176
>             Project: Torque
>          Issue Type: Improvement
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0
>
>
> Currently, if I have
> criterion.and(condition1).and(condition2).and(condition3)
> the sql output will look like
> ((condition1 and condition2) and condition3)
> Instead the sql output should look like
> (condition1 and condition2 and condition3)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message