This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to create a discriminator in Hibernate Mapping and i want multiple filtered values in the subclass.
As an example i have a persons class and it has students(S), Employees(E), Players(P) with discriminator column as Type and values as S,E,P. I want to have a subclass which has Student(S) and Players(P). Is there any way i can do this with discriminator.