DataContextFactory

From: Mike Kienenberger (mkienen..mail.com)
Date: Thu Sep 15 2005 - 16:15:01 EDT

  • Next message: Tore Halset: "Re: 3T Relationships [are done]"

    Ok. We've talked about this before,

    http://www.objectstyle.org/cayenne/lists/cayenne-user/2005/07/0016.html

    and Andrus wanted to hold off at the time because he was in the middle
    of refactoring ObjectContext.

    There's a few of us out here who'd like the convenience of subclassing
    DataContext.

    http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-376

    I'm no expert on writing Factories, but it seems like it'd be easy
    enough to provide java support just by adding a setDataContextClass()
    method on DataDomain.

    Or is it better to have a setDataContextFactory() method? Seems like
    that might be better considering that we might want to pass some
    arguments to the DC constructor.

    I know there's eventually going to need to be some support in the
    modeler, but I think providing programmic access is a step in the
    right direction.



    This archive was generated by hypermail 2.0.0 : Thu Sep 15 2005 - 16:15:04 EDT