Hi All,
I'm hoping there's someone clever out there who can give me a definite answer on this. I've been searching the web for a while and the information seems either old or confusing. I used to map implicit polymorphism in my classes through the mapping files but have moved to annotations. I know need to write something along the lines of implicit polymorphism as I have a Class 'A' that holds an instance 'B' as an interface type 'C'.
Is there any way to do this in annotations?
If not, can I mix annotations with mapping files in a stable way?
also if not, then why hasn't this been including, I would have thought it's something that a lot of programs would require.
Many thanks for your answers.
|