Re: [Hibernate] custom identifier class

2002-12-08 Thread Chris Winters
On Sat, 2002-12-07 at 19:12, [EMAIL PROTECTED] wrote: > how can one use an alternative class for primary keys (eg. MyPrimaryKey > instead of a string)? I tried using a UserType for this purpose, but > reflection fails with an IllegalArgumentException in > AbstractEntityPersiser.setIdentifier. Look

[Hibernate] custom identifier class

2002-12-08 Thread phraktle
hi, how can one use an alternative class for primary keys (eg. MyPrimaryKey instead of a string)? I tried using a UserType for this purpose, but reflection fails with an IllegalArgumentException in AbstractEntityPersiser.setIdentifier. best regards, viktor -- [EMAIL PROTECTED] -- htt