On Wed, 19 Feb 2003 14:14:54 -0500, "Viktor Szathmary"
<[EMAIL PROTECTED]> said:
> so, finallly you end up with an extra one-line method in all your pk
> classes, and this in the mapping file:
>
> <id name="PK" type="foo.bar.UserPK$PKType">
> <column name="id" length="16"/>
> <generator class="foo.bar.PrimaryKeyGenerator">
> <param name="pkclass">foo.bar.UserPK</param>
> <param name="sequence">MYSEQ</param>
> </generator>
> </id>
>
the line <param name="pkclass">foo.bar.UserPK</param> is unneccessary,
of course, since you'll use type.getReturnedClass()...
viktor
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel