I'm not skilled at all about scbcd5, but it seems to me that the paragraph of the specification speaks about the requirement to invoke getReference/find inside a transaction: you are not required to call find/getReference inside a transaction, and, in case of transaction-type persistence context, out of a transaction all the objects are detached.
Hope this helps...
posted 9 years ago
Hi, I think what is meant by "The resulting entity will be detached" is when the transaction ends. But during the transaction, the returned entity reference is still managed.