Datanucleus. Occasional javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field “linkedObject”


alex.khlystov@...
 

Hi Guys,

I have posted this question here
https://stackoverflow.com/questions/51088208/datanucleus-occasional-javax-jdo-jdodetachedfieldaccessexception-you-have-just.

We get occasional exception while several threads are retrieving the same information and NO thread is changing this particular "linkedObject" reference.

Has anyone seen that before?

Thank you.


Andy
 
Edited

Seen before? Yes, when you don't detach that field, and then try to access it. That's the only situation the enhanced class will ever throw it.

Clearly nobody here sees what you are doing with "multiple threads", where you access data from, and what your configuration is


alex.khlystov@...
 

Hi Andy,
Thank you for reply. I have asked about the occasional/rare exception under high load not the ordinary plain "detached" exception.