ashok - 2015-12-30

I have 2 tables, which has many to many relationship for 2 tables, whenever I am creating a new record, that time I sending list data, that data I want to map.
Could you please help me on this.

this is my small example , what I want
class Factory{
String name,
int code;
List<FactoryPlantMapping> factoryPlantMapping;
}
class Plant
{
int id
Sring name;
List<FactoryPlantMapping> factoryPlantMapping;
}
class FactoryPlantMapping
{
int id;
Factory factory;
Plant plant;
}

I need to mapping these class to store data into mapping table .

Could you please help me how to implement dozer for this.

Thanks Advance.