My problem seemed simple. I had following class:
class Subordinate {
String id;
Set
}
This class was mapped with two tables. All I needed is to get all subordinates of superior with some id. When reading documentation it turn out to be easy if my set of superiors was not set of simple types. And I have spent some time on this until I found exact answer on this blog: http://jdwyah.blogspot.com/2006/09/hibernate-cannot-dereference-scalar.html
No comments:
Post a Comment