That's the first thing I tried, but it returns null for my objects, I must not be using the code Right!

Project p = new ProjectBean(); //TODO: Replace with Factory call.
broker.retrieveAllReferences( p );
final List results = ( List ) broker.getCollectionByQuery( query );


I don't know your ProjectBean class, but when you create a new object you can't find any reference object - or I'm wrong?



ah, I think you do the "wrong turn" and I misunderstood your example.


Do after retrieve of the Category objects a

final List results = ( List ) broker.getCollectionByQuery( query );
aCategoryObject = ...get from list
broker.retrieveAllReferences( aCategoryObject );

call to get all reference objects for all Category instances you want to assign with the appropriate references.

Armin

regards,
Armin

Any help is appreciated.
R

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to