Hey everybody!
I'm using Hibernate as a wonderful alternative (if not advance) for entity beans. I just some minutes ago encoutered the following problem:
I created a composite key-class and mapped in as a <composite-id> in another hibernate-mapping. When trying to load the webapp then, it gave me a mapping-exception saying that I have a "double import".
I searched the old forums and found a solution here:
http://forum.hibernate.org/old//876098.html
When a set auto-import to "false" it also works on me. But my key-class is not an inner-type. It is just the same package.
My question is:
Why is this my solution??
Reading the documentation says something about "unqualified classnames in query-language", but I cannot relate this to my problem.
Thx for help!