Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #322 (closed)

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

Eviction in destructive sections of PojosImpl code is lazily loading.

Reported by: jamoore Owned by: jamoore
Priority: minor Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

#318/r908 re-enacts the PojoOptions?.isGroup() code. IPojos.findContainerHierarchies(), however, is failing its tests because objects which failed the filter are being lazily loaded. It should be possible to disable Hibernate events to prevent this from happening.

Change History (3)

comment:1 Changed 18 years ago by jmoore

  • Priority changed from critical to minor

Not true. It was the new session.isDirty() call in the readOnly service cleanup block of EventHandler which was making extra calls. I had already implemented the disabling functionality anyway (not committed); it may be useful in the future. We should also look at setting FlushMode to never on the readOnly methods. #318 is now passing (will check in momentarily) and so I'm lowering the priority.

comment:2 Changed 18 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

Rather than deleting this ticket, closing and directing interested parties to #323.

comment:3 Changed 18 years ago by jmoore

  • Keywords changed from lazyload, hibernate to lazyload, hibernate, iteration4

Moving to proper iteration (4)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67003 sec.)

We're Hiring!