Gavin King wrote:
Re: [Hibernate] Problem with polymorphism="explicit"
This is ALL as expected. You can not load the same
database row as two
different objects. That is pathalogical.
Isn't this exactly what the Lightweight Class pattern is supposed to
accomplish?
Can I open
This is ALL as expected. You can not load the same database row as two
different objects. That is pathalogical.
You can call session.evict(info) if you wish to reload it as a different
class.
Gavin
> Hi all,
>
> I'm hoping someone can point me in the right direction. I'm using the
> Lightwe
Hi all,
I'm hoping someone can point me in the right direction. I'm using the
Lightweight Class design pattern and I cannot seem to get
polymorphism="explicit" working as expected.
I have an Info and Gene object, and when I try to do this:
Info info = (Info)session.load(Info.class, "PA267");