Yu -

When you call em.clear(), any idea on how many Entities are in your
persistence context? Could you provide some sort of pseudo code as to the
scenario that you are running?

Thanks,
Rick
On Mon, Jan 31, 2011 at 4:16 AM, 玉米老 <[email protected]> wrote:

> Hello,
> I upgraded into 1.2.2 and added below line into persistence.xml but it
> doesn't really work. In fact I found clere() is still time consuming.
> Any suggestions?
>  <property name="openjpa.Compatibility"
>                            value="ReloadOnDetach=false,
> FlushBeforeDetach=false"/>
>
> Regards,
> Yu Wang
>
> On Mon, Jan 31, 2011 at 2:53 PM, 玉米老 <[email protected]> wrote:
> > I guess this may be relevant:
> >
> > https://issues.apache.org/jira/browse/OPENJPA-1414
> >
> > On Mon, Jan 31, 2011 at 1:32 PM, 玉米老 <[email protected]> wrote:
> >> sorry, I'm using OpenJPA 1.2.1 not 2.1
> >>
> >> On Mon, Jan 31, 2011 at 1:26 PM, 玉米老 <[email protected]> wrote:
> >>> Hello experts:
> >>> I found sometimes invoking clear() method of entity manager will took
> >>> more than 30 seconds.
> >>> I don't know if there' re some performance issues or I shouldn't
> >>> invoke clear() method first to get updated objects?
> >>>
> >>> Regards,
> >>> Yu Wang
> >>>
> >>
> >
>

Reply via email to