Hi,
I have three classes that extends from an abstract class 'Resource', and I'm using a string field 'indTypeResource' like discriminator to identify witch o these classes should be instantiated.
The instantiation is working very well, but I can't access the attribute 'indTypeResource', that should be avaible from the resource class as I'm using like discriminator.
Is that possible? How can I do that?
My resourse.hbm:
....
<discriminator
column="IND_TYPE_RESOURCE"
type="string"
/>
...
_________________ Ricardo K. Costa
|