[OJB-developers] Storing non-decomposed M:N relations
Brought to you by:
thma
From: Leandro R. S. C. <le...@ib...> - 2002-05-17 21:45:31
|
Hi all, I'm trying to use non-decomposed relations but I got some erros when I try something like this : <OBS> UPPER CASE IS USED FOR TABLE NAMES : MYTABLE lower case is used for instances : obj First Upper Case Letter For Classes : MyClass </OBS> I configured a non-decomposed relation A:B using and indirection table. When I try to execute <code> a.setBs(bs); broker.store(a) </code> I see that b tries to store all a's related to it. This generates the first error. Upon source code investigation I found that o.b.s.PersistenceBrokerImpl.storeCollectionObject() had some lines commented to prevent infinite loops and I commented them out ! But it's not working still ! I'm kind of lost because I don't know if this is a configuration error a API usage error or a OJB error ! Anyone is used to changing idirection tables values like the code snippet above ? -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br |