From: Konstantin P. <kpr...@ya...> - 2005-01-24 12:20:16
|
--- Tobias Joch <to...@we...> wrote: > But not in my case! I want to specify an custom > UserType. There for I > must declare the new Hibernate Class which > implements UserType as the > type. As return type I use the new Type, which do > not implement > UserType! > > Also I don't want to use a composite-id. I want to > use a normal id (with > a custom UserType :-) I think exactly this is supported. YOu have your custom type, you have getter returning this type, and then you put @hibernate.id - and you have your custom type ID... regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Plugins for xdoclet-2 are released. check it out at: http://www.sourceforge.net/projects/xdoclet-plugins/ ----[ http://www.pribluda.de ]------------------------ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |