You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by "Jakob Braeuchi (JIRA)" <ji...@apache.org> on 2005/08/22 22:52:09 UTC
[jira] Commented: (OJB-68) Query/reference prefetching issue: PersistenceBrokerAware#afterLookup(...) is called before the object was completely materialized
[ http://issues.apache.org/jira/browse/OJB-68?page=comments#action_12319644 ]
Jakob Braeuchi commented on OJB-68:
-----------------------------------
The retrieving of collection and references is deferred by the retrieval tasks.
so afterLookup should be called when prefetching of collections and references has finished.
> Query/reference prefetching issue: PersistenceBrokerAware#afterLookup(...) is called before the object was completely materialized
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: OJB-68
> URL: http://issues.apache.org/jira/browse/OJB-68
> Project: OJB
> Type: Bug
> Components: JDO-API, ODMG-API, OTM-API, PB-API
> Versions: 1.0.3
> Reporter: Armin Waibel
>
> PersistenceBrokerAware#afterLookup(...) is called before the object was completely materialized. The "normal" fields are materialized, but all references still 'null' when the afterLookupEvent is fired. The query/reference prefetching in class QueryReferenceBroker is responsible because it seems that this class batch the retrieve of references.
> Test case to reproduce this issue is PBListenerTest#testStoreAndQuery().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org