Hello, I'm trying the Hibernate mapping for the table "tabtest": The table has the composite primary key which consists of time_id and data_id, which are both foreign keys (time_id to tabtime and data_id to tabdata). Now, i don`t know how the *.hbm.xml-file has to look like... I use Hibernate2, JRE/JDK 1.6 and no Annotiations by far.
No, but i heard, that i don`t have to create a special composite mapping in the hbm-files, etc. for the case that the composite key should only be a control-entity (no duplicate values in database).
No holds barred. And no bars holed. Except this tiny ad:
Gift giving made easy with the permaculture playing cards