Re: Migration from Kodo: Any way to make it store foreign keys to later get already loaded objects from cache (for performance)?


Andy
 

1). A CAST has syntax "(identifier)", as does your use of parentheses with a field (just like with Java). Hence the compiler would need to know all about candidate class, imports etc etc at the point of the generic compile to try to guess which you mean. It currently doesn't hence that is classified as a cast. See the code at this link. You can develop an update to support both if you really want to put "(myBooleanField)" into JDOQL queries.

2). Fetch size is used in extracting results from a query, as shown in the code at this link. Suggest that you debug your usage around that

Join main@datanucleus.groups.io to automatically receive all group messages.