|
From: Gavin K. <ga...@ap...> - 2002-10-07 15:41:57
|
Urrgghhh........you just *have* to have this do you? ;) j/k ummmm. Do you realize you can do stuff like: IdentifierGenerator idgen = new HiLoGenerator(); id = idgen.generate( (SessionImplementor) session); Its actually a bit of a hassle to support generation of *part* of a composite identifier...... ----- Original Message ----- From: "Chris Winters" <cwi...@op...> To: "Gavin King" <ga...@ap...> Cc: "hibernate list" <hib...@li...> Sent: Tuesday, October 08, 2002 12:25 AM Subject: Re: [Hibernate] Mapping DTD changes > On Mon, 2002-10-07 at 06:47, Gavin King wrote: > > I've made some "improvements" to the mapping dtd. > > ... > > * replaced the use of <property> inside <composite-id> declarations with > > <key-property> > > For implementing a generated field as part of a composite ID, how would > I specify in the <composite-id> element which field is the generated > one? I hope to have this coded up soon, for all three people in the > world who need it :-) > > Thanks, > > Chris > > -- > Chris Winters (cwi...@op...) > Java Developer > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |