Task #350 (closed)
Opened 13 years ago
Closed 8 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. |
Description
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">
<properties>
<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 8 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-81a1db45b4a6so closing this ticket. Note: the HHH-2075 is still open and was recently reviewed (Nov/2011)!