Hi Armin,
thank you for the answer

> Why did you instantiate new ShopTransaction
> for deleting??

I've seen it in tutorial --> PersistenceBroker API --> "Deleting Objects"

>
> Where did you lookup ShopTransaction?
> missing
> transaction = broker.getObjectByQuery(query);

I don't understand the question, broker is a Class scope variable ... 
see the same tutorial

> hmm, something wrong with your pk handling?
> Seems given ShopTransaction object has id 2022
> Seems ShopTransaction 2022 had a reference to Transaction 2042
> I don't think (hope) it's a OJB problem.
> Could you add some log before delete ShopTransaction
> to see which id was involved?

Tonight I'll check my PK definition. And I'll add more logs.
I'm using MySQL 4.0.14. The PK management is relatively new for this database,
should be a MySQL problem. I'll check in its mailing list.

Thank you



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

Reply via email to