各位助
I am new to Hibernate, and right now I have a table which has three columns as Primary Keys, so I do not know how to do the O/R mapping in .hbm.xml.
I read the document, saying that we can not use Generator, and we need to use composite-id, but I tried this, it always gives an error "key-property is not defined". I do not know how to solve it, anybody knows this? Do you have an example about it?
Thanks for helping!
|
|