From: Jon T. <jt...@hy...> - 2007-03-19 17:57:59
|
Yep -- that's a horrible nugget of code, to be sure. There is a thread and example on Hibernate's wiki about using a UserType to make that piece generic and independent of the subclasses -- we just haven't gotten around to implementing it, yet. -- Jon On Mar 19, 2007, at 10:48 AM, Charles Lee wrote: > Reposting for another forums user: > > HypericInterceptor.entHasTimestamp- use an interface called > ILegacyTimestamp on the needed classes instead of a 7 class > instanceof check. > |