Votes for mapping

2002-09-24
2002-09-24
  • Theo Albers

    Theo Albers - 2002-09-24

    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... 

     
    • Theo Albers

      Theo Albers - 2002-09-24

      External mapping will do initially. Extending the mapping engine with attributes later on shouldn't be too difficult.

       
    • Fernando Silva

      Fernando Silva - 2002-09-24

      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!

       
    • Mauro Sérgio Silva

      I vote for external xml mapping files ONLY.

       

Log in to post a comment.