[jira] [Commented] (JDO-745) Support bitwise operations in JDOQL

2017-10-04 Thread Craig L Russell (JIRA)

[ 
https://issues.apache.org/jira/browse/JDO-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192288#comment-16192288
 ] 

Craig L Russell commented on JDO-745:
-

The expected results for bitwise and and or seem wrong.

"4 <= id && id >= 7"

should be ?

"4 <= id && id <= 7"

I'd also suggest that the query predicate (byteNotNull & 4) returns a bunch of 
bits that should be compared via equality and not order, so:

"(byteNotNull & 4) != 0"



> Support bitwise operations in JDOQL
> ---
>
> Key: JDO-745
> URL: https://issues.apache.org/jira/browse/JDO-745
> Project: JDO
>  Issue Type: New Feature
>  Components: specification, tck
>Reporter: Andy Jefferson
>Assignee: Michael Bouschen
> Fix For: JDO 3.2
>
> Attachments: JDO-745.patch, JDO-745-patch2.txt
>
>
> 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.4.14#64029)


JDO TCK Conference Call Thursday October 5, 9:30 AM Pacific Daylight Time (PDT)

2017-10-04 Thread Michael Bouschen
Hi,

We will have our regular meeting Thursday, October 5 at 9:30 AM Pacific 
Daylight Time (PDT) to discuss JDO TCK issues and status. 

We use the new dial-in for audio and video. You need a Skype account to join. 
https://join.skype.com/euV54RJwJBcf 

Agenda:

1. JDO-764 "Allow JDO annotations to be used in meta-annotations" 
https://issues.apache.org/jira/browse/JDO-764

2. Patch available: JDO-745 "Support bitwise operations in JDOQL" 
https://issues.apache.org/jira/browse/JDO-745

3. Remark from Andy about having the TCK runnable on other RDBMS.

4. Need to resolve specification lead issue now that Craig is no longer working 
for Oracle.

5. JDO 3.1: Need to go through change lists in JIRA for 3.1 RC1 and 3.1 to 
prepare JCP Change Log

6. Other issues

Action Items from weeks past:

[Oct 30 2015] AI Craig: File a maintenance review with JCP
[Apr 17 2015] AI Craig: Oracle spec page on JDO need to be updated once the JCP 
Maintenance Release for JDO 3.1 is published
[Oct 17 2014] AI Matthew any updates for "Modify specification to address NoSQL 
datastores": https://issues.apache.org/jira/browse/JDO-651?
[Feb 28 2014] AI Everyone: take a look at 
https://issues.apache.org/jira/browse/JDO-712
[Feb 28 2014] AI Everyone: take a look at 
https://issues.apache.org/jira/browse/JDO-625
[Dec 13 2013] AI Craig file a JIRA for java.sql.Blob and java.sql.Clob as 
persistent field types
[Aug 24 2012] AI Craig update the JIRAs JDO-689 JDO-690 and JDO-692 about 
JDOHelper methods. In process.


-- 
Michael Bouschen
akquinet tech@spree GmbH
Bülowstraße 66 • D-10783 Berlin
Tel:   +49 30 235520-33
Fax:  +49 30 217520-12

E-Mail: michael.bousc...@akquinet.de 
Web:   www.akquinet.de 

Geschäftsführung: Martin Weber, Dr. Torsten Fink
Amtsgericht Berlin HRB 86780 • USt.-Id. Nr.: DE 225 964 680

[Facebook]   [XING]
  [G+]
 
[LinkedIn]   [Twitter]