openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: [jira] [Commented] (OPENJPA-2039) FKs for EAGER fields that are not in the current fetchplan aren't selected
Date Mon, 15 Aug 2011 21:55:48 GMT
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 <ppoddar@apache.org> 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*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message