Hello,
I have tables in an existing DB wich don't have primary key,
they do links between many tables with Foreign Keys nullable and others attributes.
there is just constraints (indexes) on these tables about the combination
of the foreign keys.
the problem is to load datas from these tables when I will do a find all
... "from myTable"
if there are many records with the same "primary key" (which I have define a composite-Id in my mapping file) the number of objects in the List is right (the same number of records in database) but the records which have the same primary key are the same object in all the List.
what can i do to resolve this problem ?
could you help me ?
thx
|