Hi, I have a many to many mapping between to objects...ServicePackage and Service. I have one ServicePackage object and three Service objects persisted in my database.
The ServicePackage object has a field named services which is an ArrayList to hold related services. Likewise the Service object has a field named ServicePackages which is an ArrayList to hold related service packages. My relation table has three records in it which indicates, to me, that the three services are properly persisted with their relationships to the service package. When I retrieve the service package and examine the services field which is an ArrayList it has six services in the ArrayList instead of the three services as I would expect. Does anyone know of any issues with many to many mapping? If anyone has seen this type of behaviour in the past could you please point me in the direction of how to fix this issue? Attached is my mapping file for reference. Thanks in advance, Stephen Earl SandCherry Networks, Inc. <<mapping_postgresql.xml>>
mapping_postgresql.xml
Description: Binary data
