Hi

I have a question re adding instances to collections and the owner of the
collection automatically picking up the new instance.
I have 2 classes, the owner is Instrument (super-interface of an extent) and
the collection item class is PriceDetails.

The steps I follow are

        1) Get the instrument instance
        2) Create a new priceDetails instance and store it using persistence
broker
        3) Access the new instance in the instrument class.

When I attempt step 3 the PriceDetails instance I stored in the database is
not there. I have the following settings inthe repository XML file

For the collection descriptor for price details in the instrument class I
have 

auto-retrieve="true"
auto-update="false"
auto-delete="false"
proxy="true"
refresh="true"

To get (3) to work, e.g. have my owner instance automatically pickup the new
pricedetails item is there anything else I have to do?

Regards,

Mark Rowell
----------------------------------------------------------------
Mark Rowell
CreditTrade

T: +44 (020) 7400 5078
M: mailto:[EMAIL PROTECTED]

CreditTrade Limited is regulated by the FSA. (c) CreditTrade 2002. All rights 
reserved. The information and data contained in this email is provided for the 
information purposes of the addressee only and should not be reproduced and/or 
distributed to any other person. It is provided without any warranty whatsoever and 
unless stated otherwise consists purely of indicative market prices and other 
information.

Any opinion or comments expressed or assumption made in association with the data or 
information provided in this email is a reflection of CreditTrades judgement at the 
time of compiling the data and is subject to change. CreditTrade hereby makes no 
representation and accepts no responsibility or liability as to the completeness or 
accuracy of this email.

The content of this email is not intended as an offer or solicitation for, or 
recommendation of, the purchase or sale of any financial instrument, or as an official 
confirmation of any transaction, and should not be construed as investment advice.

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

Reply via email to