Hello Fernando,
Generally speaking:
*.hbm.xml :
- Best option when you need flexibility between data model and object model.
- Usually also best for legacy data models
*Fluent Automapper:
- Best option when data model will follow the object model
- Best option if you need speed and you dont want to spend time in manual mapping
Hope it helps;
sds
--
Humberto C Marchezi
---------------------------------------------------------
Master in Electrical Engineering - Automation
Software Consultant and Developer
at the Town Hall of Vitória