I have a legacy database table that has a defined FK only (no PK). I am having trouble mapping that in a Hibernate mapping document. I own (and have read a goodly part of) the HIA book, and searched the forums, but haven't found the answer. I'm certain this has been asked before, so I apologize in advance for asking again.
Can somebody please point me in the right direction for creation of a mapping document when the database table has no internal concept of identity (excepting Oracle's ROWID)?
I am using Oracle 8i, Hibernate 2.1.6.
Thanks!
|