From: Gavin K. <ga...@ap...> - 2002-11-24 15:38:54
|
This is a tough question to answer.... *yes*, it is supposed to be subclassable; however, I can't make any guarantees that future versions of Hibernate won't break subclasses of EntityPersister. I will try to maintain backward compatibility, but no promises. Sorry.... ----- Original Message ----- From: "Chris Winters" <cwi...@op...> To: "Hibernate Development" <hib...@li...> Sent: Saturday, November 23, 2002 8:23 AM Subject: [Hibernate] EntityPersister subclassable? > I'm finally getting back around to implementing a solution so I can have > a generated field as part of a composite key. (I started back at the end > of September/beginning of October but got pulled away for other tasks.) > > When I first looked at this cirrus.hibernate.persister.EntityPersister > was final so it could not be subclassed and my initial version used > delegation instead of inheritance. I noticed that EntityPersister is no > longer final -- does this mean it's amenable to subclassing? > > I'll probably have some more questions as I go along but it's a start... > > 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 |