Hi All,
I've just figured out how to use the @Any to use implicit polymorphism with annotations, however it's brought me to a problem that as I'm creating a modular application (hopefully in OSGI if I can get the thing working), that I can't define all of the interface subclasses in the @AnyMetaDef as they don't exist in the common project, only in the other projects. Therefore I'm guessing that I will have to set the hibernate up programmatically, although I found a way to do this to a simple extent in another post in this forum I'm unsure of how to do something more complication.
Can anyone lead me onto a good tutorial or book that could help me to configure Hibernate programmtically, or am I going to have to read the source files?
Many thanks,
Anthony.
|