By: deyanp ( Deyan Petrov ) 2002-09-24 09:41
Shall we use mapping attributes in the domain model, external xml mapping or both?
I vote for external xml mapping files ONLY.
Let's see now what you think...
External mapping will do initially. Extending the mapping engine with attributes later on shouldn't be too difficult.
I agree with external mapping files.
When, in recent posts, I talked about using attributes for business classes fields, I was refering to that option, as a solution to avoid abstract classes (and not using reflection to determine if a field should be persisted or not). Anyway, and as I see this will go using reflection, it's ok for me!
Log in to post a comment.