From: Gavin K. <Gav...@ex...> - 2002-12-09 22:10:16
|
This has been requested once before, and it would be very=20 trivial to add support for a <generator> subelement of <composite-id>. But theres always something very fishy about using a generated (ie. synthetic) composite id. It really makes no sense. It never even makes sense to have a single <key-property> be generated.... I can't imagine why you would want it.... > i considered this approach (even though my pk class is not a=20 > composite). however, the problem is that i can no longer rely=20 > on hibernate to generate the PKs for me. that's why i was=20 > trying to use a UserType. so, is there a way to reuse the=20 > functionality in the hibernate PK generators when using a=20 > composite-id? ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |