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

Michael Bouschen updated JDO-745:
---------------------------------
    Attachment: JDO-745.patch

I agree,  if bitwise operators are supported, this query should still fail.

However, I propose to change the filter expression in the negative test to use 
string type fields to allow implementations to support bitwise AND/OR. The 
patch JDO-745.patch for review changes the filter expression as proposed.

> TCK BooleanLogicalAND, BooleanLogicalOR testNegative don't allow an 
> implementation to provide an extension of bitwise AND/OR
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-745
>                 URL: https://issues.apache.org/jira/browse/JDO-745
>             Project: JDO
>          Issue Type: Bug
>          Components: tck
>            Reporter: Andy Jefferson
>         Attachments: JDO-745.patch
>
>
> The tests BooleanLogicalAND.testNegative, BooleanLogicalOR.testNegative don't 
> test use of a boolean logical AND/OR. They actually test for an integer being 
> used with the "&" and "|" operators. Sadly this means that any implementation 
> that attempts to provide a vendor extension of support for bitwise AND/OR 
> (for those RDBMS that support it) cannot pass the TCK.
> Perhaps add an "optional feature" for the vendor to support bitwise 
> operations, and then don't run that test if so.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to