Pinaki - I committed a couple changes to use the JDBCFetchConfiguration/Plan for config. Please take a look if you get a chance, this still feels a little bit off.
Thanks, Rick On Mon, Aug 15, 2011 at 3:20 PM, Pinaki Poddar <[email protected]> wrote: > Rick, > Thank you for considering my suggestion. > Putting it in JDBCFetchConfiguration is pretty much boilerplate. > 1. Declare a boolean ignoreFKinDFG or something in > JDBCFetchConfigurationImpl$JDBCConfigurationState > 2. Copy the field value in copy(FetchConfiguration fc) > 3. If you want this boolean be also supported via query hints, then follow > similar pattern used in other variables > 4. Facade the accessor/mutator in JDBCFetchPlan > > If an option is not JDBC-specific, then the same tactics applies to > FetchConfigurationImpl$ConfigurationState > > If you are wondering why ConfigurationState is separate from > FetchConfiguration, the answer is to guard against concurrent usage. > > ----- > Pinaki Poddar > Chair, Apache OpenJPA Project > -- > -- *Rick Curtis*
