Menu

Keeping the Domain Model free of persistence

Help
2004-09-24
2013-03-07
  • Richard Brown

    Richard Brown - 2004-09-24

    Hello,

    I have started a Blog on how to keep a Domain Model free of persistence logic (http://ricbrown.blogspot.com/2004/09/transparent-persistence-paradox.html).

    I was wondering how Jaxor handles keeping persistence logic out of the Domain Model when the domain logic needs to search a large collection of elements (e.g., to check that a property is unique)?

    Regards,
        Richard

     
    • Michael Rettig

      Michael Rettig - 2004-10-05

      Through code generation, Jaxor is able to generate all persistence related data.  With other O/R approaches, developers code the bean fields which are directly related persistence through the mapping document.

      You can read more about the separation here:

      http://jaxor.sourceforge.net/?q=domain

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.