Attendees: Michael Bouschen, Craig Russell

Agenda:

1. Mail from Andy: javax.jdo.datastore.DataStoreCache - what to expect if a 
method is not supported

> In DataStoreCache there are methods to pin and unpin objects in the cache. 
> When using this as an interface to the standard "javax.cache", there is no 
> feature to "pin" objects as such, and so DataNucleus does not implement these 
> methods. They simply throw UnsupportedOperationException. 
> 
> The question is, what should be the expected result? No-op? Exception, 
> meaning that it has to be handled in user code?
> 
> No-op may be cleanest (particularly if the user is swapping between L2 cache 
> types to evaluate the best to use), but the javadoc doesn't define it, so 
> ought to be clarified in the spec/javadocs.

The pin and unpin methods are hints, and there are no TCK tests for them. The 
implementation can ignore these hints. A valid implementation can implement the 
pin and unpin methods as no-op. No-op would seem to be a better implementation 
than throwing a runtime exception.

If updating the javadoc would improve this situation, “someone" could file a 
JIRA and write a patch. The improvement might be as simple as adding javadoc to 
make it clear that these methods are only hints and cannot be tested. 

2. JDO-735 "Make PersistenceManager and Query support AutoCloseable (JDK1.7+)" 
https://issues.apache.org/jira/browse/JDO-735

3. JDO-758 "What can a subquery return?" 
https://issues.apache.org/jira/browse/JDO-758
4. JDO-751 "Support for Java8 Optional" 
https://issues.apache.org/jira/browse/JDO-751
5. JDO-747 "Behavior of delete() with multiple concurrent Transactions" 
https://issues.apache.org/jira/browse/JDO-747
6. JDO 3.1: Need to go through change lists in JIRA for 3.1 RC1 and 3.1 to 
prepare JCP Change Log
7. Other issues

Changes have been approved in Chapter 14 for subqueries.

Action Items from weeks past:
[Nov 04 2016] AI Craig update specification p. 183 and 193 for clarity. 
[Oct 30 2015] AI Craig: File a maintenance review with JCP
[May 15 2015] AI Craig Spec change for roll back an active transaction when 
closing a persistence manager (JDO-735)  
[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.

Craig L Russell
Architect
craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!





Reply via email to