Loading...

torque-dev@db.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[jira] [Resolved] (TORQUE-176) Avoid additional brackets in sql if many same operators are chained Thomas Fox (Resolved) (JIRA) Fri Feb 03 06:24:36 2012

     [ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]