Attendees: Michael Bouschen, Tilmann Zäschke, Craig Russell

Next meeting: Tuesday March 26 1200 PDT 2000 CET

Agenda:

1. JIRA JDO-835 "TCK: Check ResultClassRequirementsMap when running 
multithreaded" https://issues.apache.org/jira/browse/JDO-835

2. JIRA JDO-836 "TCK: QueryCancel Test class fails" 
https://issues.apache.org/jira/browse/JDO-836

Bouschen to Everyone (Mar 19, 2024, 12:15)
19:50:41,403 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : 
Executing "SELECT avg (this.x + point2.y) FROM 
org.apache.jdo.tck.pc.mylib.PCPoint WHERE this.y >= 0 && point2.x >= 0 
VARIABLES PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint;import 
org.apache.jdo.tck.pc.mylib.PCPoint2;" ...
19:50:41,439 (Query Executor) DEBUG [DataNucleus.Datastore.Native] - SELECT 
AVG(CAST((A0.X + VAR_POINT2.Y) AS double)) FROM DATASTOREIDENTITY0.PCPOINT A0 
CROSS JOIN DATASTOREIDENTITY0.PCPOINT2 VAR_POINT2 WHERE A0.Y >= 0 AND 
VAR_POINT2.X >= 0

19:50:41,446 (Query Executor) DEBUG [DataNucleus.Datastore.Retrieve] - SQL 
Execution Time = 7 ms
19:50:53,947 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : 
Execution Time = 12545 ms

19:45:33,619 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : 
Executing "SELECT avg (this.x + point2.y) FROM 
org.apache.jdo.tck.pc.mylib.PCPoint WHERE this.y >= 0 && point2.x >= 0 && 
this.x >= (SELECT sum(p1.x + p1.y) FROM PCPoint p1 WHERE p1.x >= p1.y - 10) && 
point2.y >= (SELECT sum(p2.x + p2.y) FROM PCPoint p2 WHERE p2.x >= p2.y + 10) 
VARIABLES PCPoint2 point2 import org.apache.jdo.tck.pc.mylib.PCPoint;import 
org.apache.jdo.tck.pc.mylib.PCPoint2;" ...
19:45:33,671 (Query Executor) DEBUG [DataNucleus.Datastore.Native] - SELECT 
AVG(CAST((A0.X + VAR_POINT2.Y) AS double)) FROM DATASTOREIDENTITY0.PCPOINT A0 
CROSS JOIN DATASTOREIDENTITY0.PCPOINT2 VAR_POINT2 WHERE A0.Y >= 0 AND 
VAR_POINT2.X >= 0 AND A0.X >= (SELECT SUM((P1.X + P1.Y)) FROM 
DATASTOREIDENTITY0.PCPOINT P1 WHERE P1.X >= (P1.Y - 10)) AND VAR_POINT2.Y >= 
(SELECT SUM((P2.X + P2.Y)) FROM DATASTOREIDENTITY0.PCPOINT P2 WHERE P2.X >= 
(P2.Y + 10))

19:45:33,720 (Query Executor) DEBUG [DataNucleus.Datastore.Retrieve] - SQL 
Execution Time = 49 ms
19:45:33,726 (Query Executor) DEBUG [DataNucleus.Query] - JDOQL Query : 
Execution Time = 107 ms

AI Michael create a new test case for DataNucleus to take a look. Also the 
wording of the TCK test case is misleading. And the catch clause in the cancel 
thread seems to be an incorrect copy/paste from the query execute thread.

a. Derby might ignore statement.cancel.
b. DataNucleus does not report exceptions but swallows the exception, but it 
still should log the exception in its internal log.
c. Why does it take 12 seconds for the implementation part of the query?
d. We need to look at adding a flag to the TCK configuration options 
DataStoreQueryCancelSupported[true/false]

3. sonarcloud issues

JIRA JDO-819 "Code quality analysis" 
https://issues.apache.org/jira/browse/JDO-819
JIRA JDO-823 "Fix sonarcloud issues of type Code Smells" 
https://issues.apache.org/jira/browse/JDO-823

Sonarcloud link: https://sonarcloud.io/summary/overall?id=db-jdo

* Cognitive Complexity of methods should not be too high:
https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS3776&severities=CRITICAL&types=CODE_SMELL&id=db-jdo
 

* Raw types should not be used:
https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS3740&severities=MAJOR&id=db-jdo
 

4. JIRA JDO-812 "Move to JDK 11 as the lowest supported version" 
https://issues.apache.org/jira/browse/JDO-812

5. Other issues

Action Items from weeks past:

[Jan 09 2024] AI everyone: take a look into the ResultClassRequirementsMap 
issue.
[Jan 02 2024] AI everyone: see if anyone can see a problem with the parallel 
execution of tests Cast.java and SupportedOptionalMethods.java
[Jul 13 2023] AI All Open a new JIRA for Android since having JNDI in the API 
disallows use with Android
[Jun 08 2023] AI All make a JIRA: JDO support for Java Records 
https://openjdk.org/jeps/395
[Dec 09 2021] AI Craig: Try to contact all current/former participants in JDO 
development and see if and how they want to be recognized on the JDO and DB web 
sites.https://db.apache.org/whoweare.html
[Oct 07 2021] AI Craig send a private message to all JSR-243 Expert Group 
members asking if they wish to continue.
[Mar 25 2021] AI Craig: investigate "merging" papajdo and apache.clr accounts
[Oct 17 2014] AI Matthew any updates for "Modify specification to address NoSQL 
datastores "https://issues.apache.org/jira/browse/JDO-651


Craig L Russell
c...@apache.org

Reply via email to