epbernard wrote:
As dimas said
map you composite-id on a serializable class representig you composite id (see doc on this subject, equals and hashCode must be overriden)
Then use load(Object, Serializable).
If you don't want that, then do a plain HQL query .
The problem is solved! I created a new class for the PrimaryKey and it worked fine! The only thing maybe is, that first I tried to create a inner-class, but i got an error
the class needs an empty constructor or something like this, although there was the constructor! The same class was correct as non inner-class!
Is this a bug??
anyway, thank you very much for your help
gimi