Hi ;)
i´m using Hibernate 2.8.1 and MS SQLServer2005. I have two tables (a,b) with the relation 1:n.
In the mapping-file of table a i define a set wich references the foreign key of table b. Now comes the problem!!
The values in that foreign key are not the values from primary key of table a! This values are content of an other column in table a. That is the situation and i have to find a way to handle it, just with the mapping file, without changing structure of the database.
Does anybody have an idea...?
Greeings from Germany
Olli
|