• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #61 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Hibernate "PersistenceSet" instances are escaping.

Reported by: jmoore Owned by: jmoore
Priority: major Milestone: 3.0-M3
Component: Remoting Version: 3.0-M1
Keywords: iteration6 Cc:

Description

ProxyCleanupFilter? removes all non-initialized Hibernate proxies (instances of PeristenceSet? for collections) but does not replace all sets with java.util.* instances. It must, otherwise the client must have hibernate.jar on the classpath.

Additional Comment #1 From Josh Moore 2006-05-02 09:00

[r621] Wrapping Hibernate implementations of Set and List in HashSet? and ArrayList?

  • Not most performant solution; for that, use own (ome.util.*) wrapper class
  • Not catching everything; see PersistentMap? et al.

[r657] Caught another aspect of this : The arrays that were being passed out.

Originally : http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=647

Change History

Changed 2 years ago by jmoore

  • priority changed from minor to major
  • status changed from new to assigned
  • milestone changed from 3.0-M2 to 3.0-M3

We should add arrays to the Filter interface along with anything else that can be returned. Then this can be closed.

Changed 2 years ago by jmoore

  • keywords iteration6 added

Changed 2 years ago by jmoore

  • status changed from assigned to closed
  • resolution set to fixed

r986 adds a test for various Hibernate AbstractPersistentCollection subclasses (even ones we are not using). ProxyCleanupFilter is now handling PersistentMap properly. Closing.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/