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"

Task #350 (closed)

Opened 15 years ago

Closed 10 years ago

Hibernate does not properly handle property-refs

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: Blocked
Component: ORM Version: 3.0-M3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.


In our model several types have a special "tag" to specify that a collection has a default value. E.g.:

  <type id="ome.model.core.Image" named="true" described="true">
      <onemany name="defaultPixels" type="ome.model.core.Pixels" tag="defaultPixels"/> 

This currently produces difficulties for Hibernate. Reason currently unknown.

See http://opensource.atlassian.com/projects/hibernate/browse/HHH-2075

This was found while working on a solution to #346. Currently a workaround is in the works, but it will need to be removed.

Change History (1)

comment:1 Changed 10 years ago by jmoore

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

The tag= element was removed a long time ago:

commit 80e386893636fdf02236064a34e2d56cd2074a3c
Author: jmoore <jmoore@05709c45-44f0-0310-885b-81a1db45b4a6>
Date:   Fri Jan 4 14:14:43 2008 +0000

    StructuredAnnotations : First attempt at an attribute hierarchy
    This is a somewhat simple-minded approach, and will probably
    be dropped in the future, includes initial object.vm mapping
    using Hibernate Annotations
    git-svn-id: file:///home/svn/omero/trunk@1997 05709c45-44f0-0310-885b-81a1db45b4a6

so closing this ticket. Note: the HHH-2075 is still open and was recently reviewed (Nov/2011)!

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.64918 sec.)

We're Hiring!