Hi,
I have tables with composite keys everywhere (I *hate* legacy databases). I was hoping to be able to use hibernate's saveOrUpdate() method with code generated by middlegen.
The documentaion for Hibernate says that composite keys must be assigne and use some sort of versioning (by timestamp or by version). When I look at the hbm.xml file generated by middlegen, there is no version or unsaved-value information.
I tried to see how to specify this information but I don't see it. Is this a case of me not looking in the right place? Or do I have to add it manually after the fact? If it's the former, where should I be looking?
Thanks,
L
|