Hello all
Im running web services behind JBoss. The stack has hibernate and we use it to derive object model from the relational model. When I have many to many relationships I try and use a bridging table on relational design usually, and when I reverse engineer the object model after that I have cyclic references in the object model hence when I try to send these objects back through JAX it results in the cycle detected saxexception. What Im wondering is, is the derived object model right? Or should I break relationship into many to one and one to many again but I cant see that solving the cyclic reference issue. Anyway I'm open to suggestions, it would be good to get some expert advice on this please. I would be glad to explain this a bit further too if needed.
Cheers
|