Bugs item #682739, was opened at 2003-02-07 20:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=682739&group_id=40712

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Benoit Menendez (bmenendez)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with SortedSet

Initial Comment:
I have the following mapping: 

<class name="kms.User" table="KMS_USER" 
proxy="kms.User"> 
.. 
<set role="proficiencies" table="KMS_USER_SKILL" 
lazy="true" sort="natural"> 
<jcs-cache usage="read-write"/> 

<key column="USER_ID"/> 

<composite-element class="kms.Proficiency"> 
<many-to-one name="skill" column="SKILL_ID" outer-
join="false" not-null="true"/> 
<property name="value" column="PROFICIENCY" not-
null="true"/> 
</composite-element> 
</set> 
</class> 

It appears the sort="..." attribute is not supported with 
composite elements (I thought it would and made my 
composite class Comparable)... 

I get a ClassCastException because when Hibernate 
disassembles, it adds Object[] in the TreeSet... 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=682739&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to