cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (Created) (JIRA)" <>
Subject [jira] [Created] (CAY-1637) [PATCH] DataContextFactory is cumbersome to customize
Date Wed, 02 Nov 2011 16:37:34 GMT
[PATCH] DataContextFactory is cumbersome to customize

                 Key: CAY-1637
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
    Affects Versions: 3.1M4
         Environment: Mac 10.6
            Reporter: John Huss
            Priority: Minor
         Attachments: context-factory-patch.txt

DataContextFactory is cumbersome to customize.  I want to use my own custom subclass of DataContext
(which is probably the only customization ever needed, right?) and in order to do so I have
to copy the complete source of DataContextFactory and replace DataContext with MyContext.
 It can be made much easier by refactoring the constructor call into an overridable method
that does just that.  CayenneContextFactory has the same problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message