Thanks. Actually, I found out that the ant won't build the relation correctly from that statment. It'll put only one of the two columns in the hbm.
I read in a tutorial I found that it should be:
@hibernate.collection-key
@hibernate.collection-key-column
name="NAMEOFTHECOLUMN"
@hibernate.collection-key-column
name="NAMEOFTHEOTHERCOLUMN"
At least it works with this one. But somehow the ant that builds the schema (and the tables in the oracle base) is pointing out it can't find the class's PK
and, acording to the references I have, everything should be right.
The pk POJO has the hash and equals it needs, and also the path the program claims it can't find the file into is right too.
_________________ Falci - Heavy Worker!
|