hi everybody,
I've spend so much time now trying to figure this out, but i simply don't
seem to get it right.
my database as well as my model look like this:
I used the table-per-subclass strategie to represent the inheritance.
My problem:
i usually don't want to recieve the data from all descriptors. but when i make
a query, i unfortunately always get all the descriptors belonging to my image.
how can i say that i only want "Images that have a DESCRIPTOR_1" and
only get the image data and the DESCRIPTOR_1 data, but not the data
from all the other descriptor subclasses.
can anybody help me?
some kind of Criteria example would be really great!!
thanks a lot,
cheers nick