-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problem with set and property-ref
PostPosted: Mon Apr 18, 2005 6:25 am 
Newbie

Joined: Fri Mar 04, 2005 9:18 am
Posts: 5
Location: Hasselt, Belgium
Hello,

I have a class A with a composite-id. When I map a "set" in this class that makes use of the composite-id there is no problem.
However if I try to map a "set" that uses single unique field as the property-ref attribute on the key tag inside the set. I get an error.
(PropertyAccessException).

This exception is very similar to an exception I got with a many-to-one tag in 3.0rc1 but that was fixed in 3.0.

Has anybody mapped a set using the property-ref attribute on the key tag? And got it to work?

Hibernate version: 3.0.1

Thanks in advance,
Kind Regards,

Niels


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.